From d30f2246c3deb72c95da6206812f0f2d8e83612f Mon Sep 17 00:00:00 2001 From: Will Faught Date: Tue, 4 Jun 2024 21:27:52 -0700 Subject: [PATCH] Order vars --- layouts/partials/paige/pages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index b53c8d4d..d2ab9fdb 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -3,10 +3,10 @@ {{ $collections := slice }} {{ $h2size := "h4" }} {{ $manypagegroups := false }} -{{ $sections := where $page.Pages "Kind" "section" }} {{ $pagegroups := slice }} {{ $pager := false }} {{ $pages := where $page.Pages "Kind" "in" (slice "page" "term") }} +{{ $sections := where $page.Pages "Kind" "section" }} {{ range $name, $taxonomy := cond $page.IsHome site.Taxonomies slice }} {{ if gt (len $taxonomy) 0 }}