aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-03-03 13:12:06 +0100
committerDennis Eriksen <d@ennis.no>2020-03-03 13:12:06 +0100
commitc26a312819ae87eb1bef73daebe76b435a9dc052 (patch)
treec2330c651caf9e040f2882b1187a61b9bfb16d80 /layouts/index.html
parentfixing archetype (diff)
downloadriker-c26a312819ae87eb1bef73daebe76b435a9dc052.tar.gz
adding support for hidden pages
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 4f74872..e70d111 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -8,7 +8,7 @@
<p>{{ .Site.Params.intro }}</p>
<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">