Group page kinds correctly
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user