{{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} <div class="f6 lh-copy mv0 ph4 pv2"> By {{ with .Params.author }} <span class="author"> — {{ delimit . ", " }} </span> {{ end }} <br /> <i class="far fa-calendar"></i> <time datetime="{{ $dateTime }}"> {{ .Date.Format $dateFormat }} </time> {{ with .Params.location }} — {{ . }} {{ end }} {{ if eq .Section "post" }} | {{ .ReadingTime }} mins read {{ end }} {{ with .GetTerms "tags" }} | <a href="/tags" class="link w3-text-theme ph1"> <i class="fas fa-tags"></i> </a> {{ range . }} <a class="link underline color-inherit" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} {{ end }} {{ with .GetTerms "categories" }} | <a href="/categories" class="link w3-text-theme ph1"> <i class="fas fa-folder-open"></i> </a> {{ range . }} <a class="link underline color-inherit" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} {{ end }} </div>