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