From fe2d028c74ad35151412e94697bc6db06fbeaefdc40a9d65ee707ba0e7695f89 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 16 Sep 2022 00:00:00 +0000 Subject: Conditionally add page info to top of page --- layouts/partials/metadata.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'layouts/partials/metadata.html') diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index be9897b..844ea12 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,8 +1,7 @@ {{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}} -{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
-

📆 {{ .PublishDate.Format $dateFormat }} | ⏱️ {{ .ReadingTime }} minute read
+

{{ partial "pageinfo" . }}
🔗 {{ .Title }}

-- cgit v1.2.3