{{- if not .Date.IsZero }} {{ .Date.Format ( .Site.Params.dateformat | default "January 02, 2006" )}} {{ end }} {{- if ne .Date .Lastmod }} Updated: {{ .Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006" )}} {{- end }} {{- if .Params.categories }} Categories: {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}{{ . }}{{ end }} {{- end }}