From c26a312819ae87eb1bef73daebe76b435a9dc052 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 3 Mar 2020 13:12:06 +0100 Subject: adding support for hidden pages --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/index.html') 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 @@

{{ .Site.Params.intro }}

Archive

- {{ range (where .Site.RegularPages "Type" "post").GroupByDate "2006" }} + {{ range (where (where .Site.RegularPages "Params.hidden" "ne" "true") "Type" "post").GroupByDate "2006" }}

{{ .Key }}

{{ range .Pages }}
-- cgit v1.2.3