aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/pageinfo
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/pageinfo')
-rw-r--r--layouts/partials/pageinfo2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/pageinfo b/layouts/partials/pageinfo
new file mode 100644
index 0000000..c512b88
--- /dev/null
+++ b/layouts/partials/pageinfo
@@ -0,0 +1,2 @@
+{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
+📆 {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | ⏱️ {{ .Page.ReadingTime | safeHTML }} minute read \ No newline at end of file