{{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
By — {{ range .Params.authors }} {{ $name := . }} {{ $path := printf "/%s/%s" "authors" ( $name | urlize ) }} {{ with $.GetPage $path }} {{ if isset .Params "name" }} {{- default $name .Params.name -}} {{ else }} {{ $name }} {{ end }} {{ else }} {{ $name }} {{ end }} {{ 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 }}