Remove empty taxonomy check

This commit is contained in:
Will Faught
2024-06-05 23:40:10 -07:00
parent 7025456c18
commit d60ec6901b

View File

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