diff options
Diffstat (limited to '')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 7516cf1..e6fbc13 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,11 +19,11 @@ </div> <div class="archive"> <h2>Archive</h2> - {{ range (where .Site.RegularPages "Type" "post").GroupByDate "2006" }} + {{ range (where (where .Site.RegularPages "Params.hidden" "ne" "true") "Type" "post").GroupByDate "2006" }} <h3 class="archive-title">{{ .Key }}</h3> {{ range .Pages }} <article class="list-item"> - <a href="{{ .Permalink }}" class="list-item-link">{{ .Title }}</a> + <a href="{{ .RelPermalink }}" class="list-item-link">{{ .Title }}</a> <span class="list-item-date">{{ .Date.Format "January 2, 2006" }}</span> </article> {{ end }} |