website-theme/layouts/_default/single.html

13 lines
362 B
HTML
Raw Normal View History

2018-09-23 11:11:35 +00:00
{{ define "main"}}
2019-03-23 07:18:03 +00:00
<h1>{{ .Title }}</h1>
{{ partial "header.html" . }}
<!-- date -->
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
<p class="date">{{ .Date.Format $singlePageDateFormat }}</p>
2019-03-23 07:18:03 +00:00
<!-- content -->
2019-03-23 16:59:56 +00:00
<div id="contentBody">
2019-03-23 07:18:03 +00:00
{{ .Content }}
</div>
{{ partial "footer.html" . }}
2018-09-23 11:11:35 +00:00
{{ end }}