From b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 28 Apr 2022 00:00:00 +0000 Subject: Initial commit --- layouts/partials/metadata.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 layouts/partials/metadata.html (limited to 'layouts/partials/metadata.html') diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html new file mode 100644 index 0000000..36ae6fb --- /dev/null +++ b/layouts/partials/metadata.html @@ -0,0 +1,9 @@ +{{ range (where .Site.RegularPages.ByTitle "Section" "post").ByPublishDate.Reverse }} +{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }} +
+
+

{{ .PublishDate.Format $dateFormat }} - {{ .ReadingTime }} minute read
+ {{ .Title }}

+
+
+{{ end }} -- cgit v1.2.3