Fix page list for taxonomy, term pages
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and (not $pages) (in (slice "taxonomy" "term") $page.Kind) }}
|
||||
{{ $pages = $page.Pages }}
|
||||
{{ end }}
|
||||
|
||||
{{ $pinned := where $pages "Params.paige.pin" true }}
|
||||
|
||||
{{ $unpinned := complement $pinned $pages }}
|
||||
|
Reference in New Issue
Block a user