{{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default ":date_medium" }} <div class="text-sm my-0 px-8 py-2"> {{ T "author_by" }} — {{ range .Params.authors }} {{ $name := . }} {{ $path := printf "/%s/%s" "authors" ( $name | urlize ) }} {{ with $.GetPage $path }} {{ if isset .Params "name" }} <a class="underline" href="{{ .RelPermalink }}"> {{- default $name .Params.name -}} </a> {{ else }} {{ $name }} {{ end }} {{ else }} {{ $name }} {{ end }} {{ end }} <br /> <i class="far fa-calendar"></i> <time datetime="{{ $dateTime }}"> {{ time.Format $dateFormat .Date }} </time> {{ with .Params.location }} — {{ . }} {{ end }} {{ if eq .Section "post" }} | {{ .ReadingTime }} {{ i18n "minute_read" }} {{ end }} {{ with .GetTerms "tags" }} | <a href="/tags" class="text-lime-500 px-1"> <i class="fas fa-tags"></i> </a> {{ range . }} <a class="underline" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} {{ end }} {{ with .GetTerms "categories" }} | <a href="/categories" class="text-lime-500 px-1"> <i class="fas fa-folder-open"></i> </a> {{ range . }} <a class="underline" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} {{ end }} </div>