{{ .Title }}
{{ partial "header.html" . }} {{ if not .Date.IsZero }} {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}Published on
{{ end }}
{{ .Content }}
{{ define "main"}}
Published on {{ .Title }}
{{ partial "header.html" . }}
{{ if not .Date.IsZero }}
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
{{ .Content }}