diff options
Diffstat (limited to 'layouts/partials/pageinfo.html')
-rw-r--r-- | layouts/partials/pageinfo.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html new file mode 100644 index 0000000..c6643dc --- /dev/null +++ b/layouts/partials/pageinfo.html @@ -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 }}<a class="link" href='{{ "/tags/" }}{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }} |