Group page kinds correctly

master
Will Faught 4 months ago
parent bacafcdd13
commit a8823ed905

@ -56,9 +56,9 @@
{{ if in (slice "taxonomy" "term") $page.Kind }} {{ if in (slice "taxonomy" "term") $page.Kind }}
{{ range $page.Pages }} {{ range $page.Pages }}
{{ if .IsSection }} {{ if .IsSection }}
{{ $pages = $pages | append . }}
{{ else }}
{{ $sections = $sections | append . }} {{ $sections = $sections | append . }}
{{ else }}
{{ $pages = $pages | append . }}
{{ end }} {{ end }}
{{ end }} {{ end }}

Loading…
Cancel
Save