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 }}
{{ range $page.Pages }}
{{ if .IsSection }}
{{ $pages = $pages | append . }}
{{ else }}
{{ $sections = $sections | append . }}
{{ else }}
{{ $pages = $pages | append . }}
{{ end }}
{{ end }}

Loading…
Cancel
Save