website-theme/layouts/_default/single.html
2019-03-24 01:59:56 +09:00

11 lines
280 B
HTML

{{ define "main"}}
<h1>{{ .Title }}</h1>
{{ partial "header.html" . }}
<!-- date -->
<p class="date">{{ .Date.Format .Site.Params.singlePageDateFormat }}</p>
<!-- content -->
<div id="contentBody">
{{ .Content }}
</div>
{{ partial "footer.html" . }}
{{ end }}