summaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.gmi
blob: 779a370583aa92ae0c512d03ec2170df5ae22137b4914f6442654baab7c490fc (plain)
1
2
{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
{{ emojify ":calendar:" }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" }} {{ .Page.ReadingTime | safeHTML }} minute read{{ if .Page.Params.Tags }} | {{ emojify ":label:" }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}