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