summaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo.html
blob: 5aca1c22d484cf1e377bb8db6d29e823370b03450126753ca988e3b08f5eac44 (plain)
1
2
{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ .Page.ReadingTime | safeHTML }} minute read{{ if .Page.Params.Tags }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := .Page.Params.Tags }}{{ if $key }}, {{ end }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}