From d60ec6901b403f0fcb78b669f180cd788fb359ff Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 5 Jun 2024 23:40:10 -0700 Subject: [PATCH] Remove empty taxonomy check --- layouts/partials/paige/pages.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index 40bd45f7..5a5669a8 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -9,9 +9,7 @@ {{ $sections := $page.Sections }} {{ range $name, $taxonomy := cond $page.IsHome site.Taxonomies slice }} - {{ if gt (len $taxonomy) 0 }} - {{ $collections = $collections | append $taxonomy.Page }} - {{ end }} + {{ $collections = $collections | append $taxonomy.Page }} {{ end }} {{ if and (not $pages) (in (slice "taxonomy" "term") $page.Kind) }}