{{ define "main"}}

{{ .Title }}

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

{{ .Date.Format $singlePageDateFormat }}

{{ end }} {{ if .Param "tags" }}
{{ end }}
{{ .Content }}
{{ partial "footer.html" . }} {{ end }}