diff options
Diffstat (limited to 'layouts/_default/archives.html')
| -rw-r--r-- | layouts/_default/archives.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index e400e2c..966da8a 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -9,11 +9,7 @@ {{- end }} </header> -{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} - -{{- if site.Params.ShowAllPagesInArchive }} -{{- $pages = site.RegularPages }} -{{- end }} +{{- $pages := where site.AllPages "Type" "in" site.Params.mainSections }} {{- range $pages.GroupByPublishDate "2006" }} {{- if ne .Key "0001" }} |
