aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.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/_default/list.html
parentfixing archetype (diff)
downloadriker-c26a312819ae87eb1bef73daebe76b435a9dc052.tar.gz
adding support for hidden pages
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index e69e3bf..7863d64 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -3,7 +3,7 @@
{{ .Content }}
<ul class="contents">
- {{ range .Paginator.Pages }}
+ {{ range where .Paginator.Pages "Params.hidden" "ne" "true" }}
<li>{{.Title}}
<div>
{{ .Summary }}