summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
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 6255b45f..b709bd7c 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-{{- range where .Pages "Params.category" "!=" "pages"}}
+{{- range where .Site.RegularPages "Params.category" "!=" "pages"}}
<article class="list">
<a href="{{ .Page.Permalink }}">
<h2>{{ .Page.Title }}</h2>