From fa3ac706cd5ca3f06c135b722ae18c5b97e13a4d Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 19 Dec 2022 21:02:03 -0800 Subject: [PATCH] Omit sub-h1 header links for full pages in list pages --- layouts/partials/paige-content.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/paige-content.html b/layouts/partials/paige-content.html index e6d0a652..b8298d8c 100644 --- a/layouts/partials/paige-content.html +++ b/layouts/partials/paige-content.html @@ -4,7 +4,11 @@
+ {{ if .Scratch.Get "paige_show_full_pages" }} + {{ .Content }} + {{ else }} {{ .Content | replaceRE `()` `${1}${3}` | safeHTML }} + {{ end }}