summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-09-07 13:53:15 +0800
committerReorx <novoreorx@gmail.com>2022-09-07 13:53:15 +0800
commita016d836633b6e223d1ac3ee0ddb262eca0d626d (patch)
tree77c39691af0260d5fa90683b48c09259dc15610d /layouts
parent62288bcb5661de24f23f2a0e26511ac0fe749467 (diff)
home page filter pages use "Section in" instead of "Type in"
distinguish .Section and .Type
Diffstat (limited to 'layouts')
-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 f92963d..5797a30 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -32,7 +32,7 @@
{{- $pages := .Pages }}
{{- if .IsHome }}
- {{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
+ {{- $pages = where site.RegularPages "Section" "in" site.Params.mainSections }}
{{- end }}
{{- $pages = where $pages "Params.hidden" "!=" true }}