Skip to content

Commit

Permalink
Remove empty taxonomy check
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Jun 6, 2024
1 parent 7025456 commit d60ec69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/partials/paige/pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand Down

0 comments on commit d60ec69

Please sign in to comment.