{{- define "main" -}}
{{ $customDateFormat := "January 2, 2006" }} {{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }} {{ .PublishDate.Format $customDateFormat }}{{ if gt .Lastmod .PublishDate }}, updated {{ .Lastmod.Format $customDateFormat }}{{ end }} {{ partial "tags" . }}
{{ .Content }} {{- end -}}