This commit is contained in:
Kyeong-mi Kim 2025-04-23 14:35:23 -07:00 committed by GitHub
commit a564ba6e23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,6 +42,11 @@
{{- if .IsHome }}
{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
{{- if site.Params.ShowAllPagesInHome }}
{{- $pages = site.RegularPages }}
{{- end }}
{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }}
{{- end }}