{{ define "main" }}
{{ .Page.Content }} {{- if not (in .Params.category "pages") }} {{- if not (eq .Page.Type "special") }} {{ $pubdate := .PublishDate.Format "2006-01-02" }} {{ $lastmod := .Lastmod.Format "2006-01-02" }} {{ $file := .File.LogicalName }} {{ $path := .File.Path }} {{ $lastmodhash := .GitInfo.Hash }}
{{ if eq $pubdate $lastmod }} Published: {{ else }} Originally published: ; updated: {{ end }} {{ partial "button-15" (dict "button" . "file" "email-me.png" "alt" "Email me" "href" "/me/contact/") }} {{- end }} {{- end }}
{{ if .Page.Params.hasnavsection }} {{ with .NextInSection }} ← {{ or .Page.Params.shortname .Page.Name }} {{ end }}
{{ with .PrevInSection }} {{ or .Page.Params.shortname .Page.Name }} → {{ end }} {{ end }} {{- if .Params.primary_menu }} {{ partial "single/bottom_nav.html" (dict "menuID" .Page.Params.primary_menu "page" .) }} {{- end }} {{- end }}