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 }}