Remove empty taxonomy check

master
Will Faught 1 year ago
parent 7025456c18
commit d60ec6901b

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

Loading…
Cancel
Save