diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-07 13:53:15 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-07 13:53:15 +0800 |
| commit | a016d836633b6e223d1ac3ee0ddb262eca0d626d (patch) | |
| tree | 77c39691af0260d5fa90683b48c09259dc15610d /layouts/_default/list.html | |
| parent | 62288bcb5661de24f23f2a0e26511ac0fe749467 (diff) | |
home page filter pages use "Section in" instead of "Type in"
distinguish .Section and .Type
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 2 |
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 }} |
