diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9c5bc54..c562e1a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -43,6 +43,8 @@ {{- if .IsHome }} {{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} {{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }} +{{- else }} +{{- $pages := where $pages "Params.hiddenInSectionList" "!=" "true" }} {{- end }} {{- $paginator := .Paginate $pages }}