diff options
Diffstat (limited to 'layouts/partials/pageinfo.gmi')
-rw-r--r-- | layouts/partials/pageinfo.gmi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/pageinfo.gmi b/layouts/partials/pageinfo.gmi new file mode 100644 index 0000000..779a370 --- /dev/null +++ b/layouts/partials/pageinfo.gmi @@ -0,0 +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 }}
\ No newline at end of file |