diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index e400e2c5..d4d6e5bd 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -9,7 +9,7 @@ {{- end }} -{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} +{{- $pages := where ( where site.RegularPages "Type" "in" site.Params.mainSections ) ".Params.offTheRecord" "!=" true }} {{- if site.Params.ShowAllPagesInArchive }} {{- $pages = site.RegularPages }}