HUGO
Not mainSections?
bep
June 11, 2017, 12:23pm
3
To exclude you would do:
{{ $section := where .Site.RegularPages "Section" "not in" $mainSections }}
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Lists of mainSections render empty
support
6
917
January 4, 2021
Is there a way to group and filter site.mainSections?
support
1
1128
July 31, 2019
Main menu like mainSections or is removing menus planned?
feature
5
1139
April 20, 2021
How can I determine if a post is in one of the mainSections in config.toml?
support
6
615
September 23, 2020
How do I make my frontpage show content from only one folder?
support
11
908
August 16, 2021