{{ define "main"}}

{{ .Title }}

{{ partial "header.html" . }} {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}

{{ .Date.Format $singlePageDateFormat }}

{{ .Content }}
{{ partial "footer.html" . }} {{ end }}