Published: {{ .PublishDate.Format "January 2" }}{{ if in (slice 1 21 31) .PublishDate.Day}}st{{ else if in (slice 2 22) .PublishDate.Day}}nd{{ else if in (slice 3 23) .PublishDate.Day}}rd{{ else }}th{{ end }}, 1{{ .PublishDate.Format "2006" | lang.NumFmt 0 }} HE
Last modified: {{ .Lastmod.Format "January 2" }}{{ if in (slice 1 21 31) .Lastmod.Day}}st{{ else if in (slice 2 22) .Lastmod.Day}}nd{{ else if in (slice 3 23) .Lastmod.Day}}rd{{ else }}th{{ end }}, 1{{ .Lastmod.Format "2006" | lang.NumFmt 0 }} HE
{{ $post_age_in_years := math.Round ( div ( div ( now.Sub .PublishDate ).Hours 24 ) 365 ) }}
{{ if ( or .Params.site .Params.controversial ( gt $post_age_in_years 2 ) ) }}
{{ end }}
{{ if .Params.notes }}
{{ end }}
{{ if and ( .TableOfContents ) ( ne .TableOfContents "" ) }}
{{ end }}
{{ end }}
{{ define "main-body" }}
{{- if ( or .Params.internal_links .Params.external_links ) -}}
{{- with .Params.internal_links -}}
Internal Links
{{- range . -}}
{{ if eq ( printf "%T" . ) "map[string]interface {}" }}