diff options
Diffstat (limited to 'layouts/_default/archives.html')
-rw-r--r-- | layouts/_default/archives.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 5d5243c..9df633e 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -16,10 +16,8 @@ </header> {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} - {{ $notHidden := where .Site.RegularPages "Params.hidden" "!=" true }} - {{ $filtered := ($pages | intersect $notHidden) }} - - {{ range $filtered.GroupByDate "2006" }} + + {{ range $pages.GroupByDate "2006" }} {{ $id := lower (replace .Key " " "-") }} <div class="archives-group" id="{{ $id }}"> <h2 class="archives-date section-title"><a href="{{ $.RelPermalink }}#{{ $id }}">{{ .Key }}</a></h2> |