From 2e77b359407d0b9b9725843a989d64e61c8b4f67 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 1 Mar 2025 23:06:40 -0800 Subject: [PATCH] Remove section kinds from page kinds --- layouts/partials/paige/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/list.html b/layouts/partials/paige/list.html index b78a548b..5829aa9f 100644 --- a/layouts/partials/paige/list.html +++ b/layouts/partials/paige/list.html @@ -65,7 +65,7 @@ {{ $pages = sort $pages "LinkTitle" | and ($page.Param "paige.pages.disable_pages" | not) }} {{ $sections = sort $sections "LinkTitle" | and ($page.Param "paige.pages.disable_sections" | not) }} {{ else }} - {{ $pages = $page.Pages | and ($page.Param "paige.pages.disable_pages" | not) }} + {{ $pages = complement $page.Sections $page.Pages | and ($page.Param "paige.pages.disable_pages" | not) }} {{ $sections = $page.Sections | and ($page.Param "paige.pages.disable_sections" | not) }} {{ end }}