summaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.gmi
blob: 0e2d051165dfa555772abd50a8dd5cd86c03b889bb519c92a5bb4a999cdd2011 (plain)
1
2
{{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}}
{{ emojify ":calendar:" }} {{ .Page.PublishDate | time.Format $dateFormat }} | {{ emojify ":stopwatch:" }} {{ i18n "readingTime" .ReadingTime }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}