mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
13 lines
376 B
HTML
13 lines
376 B
HTML
|
{{ define "main"}}
|
||
|
<h1 class='title'>{{ .Title }}</h1>
|
||
|
{{ partial "header.html" . }}
|
||
|
<!-- date -->
|
||
|
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
|
||
|
<p class="date">{{ .Date.Format $singlePageDateFormat }}</p>
|
||
|
<!-- content -->
|
||
|
<div id="contentBody">
|
||
|
{{ .Content }}
|
||
|
</div>
|
||
|
{{ partial "footer.html" . }}
|
||
|
{{ end }}
|