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/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a9fc62b..3a6ade1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,6 +2,8 @@ +{{- if .Page.Params.pageinfo }} +

{{ partial "pageinfo" . }}

{{ end }}

{{ .Name }}

{{ .Content -}} -- cgit v1.2.3