mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-12-23 20:20:50 +00:00
12 lines
376 B
HTML
12 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 }}
|