{{ .Date | time.Format ":date_medium" }} · {{ if eq .Kind "page" }} {{ range .Params.tags }} {{ . }} · {{ end }} {{ if ge .ReadingTime 1 }} {{ printf "%d min. read" .ReadingTime }} {{ end }} {{ else }} {{ $count := len .Pages }} {{ printf "%d %s" $count (cond (eq $count 1) "item" "items") }} {{ end }}