aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
blob: c6643dc77116318927a4ca34acb719d6ddcf8bd891c3a74332453b320f1c4dba (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 }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}