{{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateTimeMod := .Lastmod.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} {{ .PublishDate.Format $dateFormat }} {{ .Page.Params.Author }} {{ .Lastmod.Format $dateFormat }}