added homeHidden param
This commit is contained in:
parent
375155061d
commit
db1f803d82
@ -27,7 +27,7 @@
|
||||
{{- $pages := union .RegularPages .Sections }}
|
||||
|
||||
{{- if .IsHome }}
|
||||
{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{- $pages = where (where site.RegularPages "Type" "in" site.Params.mainSections) "Params.homeHidden" "!=" true }}
|
||||
{{- end }}
|
||||
|
||||
{{- $paginator := .Paginate $pages }}
|
||||
|
Loading…
Reference in New Issue
Block a user