diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f4ff6eca..095b5e9a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -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.offTheRecord" "!=" true }} {{- end }} {{- $paginator := .Paginate $pages }}