mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-13 06:34:24 -04:00
Merge d3662c112e
into 7cf752f864
This commit is contained in:
commit
a564ba6e23
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@
|
||||||
|
|
||||||
{{- if .IsHome }}
|
{{- if .IsHome }}
|
||||||
{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
|
{{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
|
|
||||||
|
{{- if site.Params.ShowAllPagesInHome }}
|
||||||
|
{{- $pages = site.RegularPages }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }}
|
{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue