{{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
By {{ with .Params.author }} — {{ delimit . ", " }} {{ end }}
{{ with .Params.location }} — {{ . }} {{ end }} {{ if eq .Section "post" }} | {{ .ReadingTime }} mins read {{ end }} {{ with .GetTerms "tags" }} | {{ range . }} {{- .Title -}} {{ end }} {{ end }} {{ with .GetTerms "categories" }} | {{ range . }} {{- .Title -}} {{ end }} {{ end }}