diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index b66a1284b..280387838 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -659,7 +659,7 @@ func (s *Site) assembleMenus() error { if sectionPagesMenu != "" { if err := s.pageMap.forEachPage(pagePredicates.ShouldListGlobal, func(p *pageState) (bool, error) { - if p.IsHome() || !p.m.shouldBeCheckedForMenuDefinitions() { + if p.Kind() != kinds.KindSection || !p.m.shouldBeCheckedForMenuDefinitions() { return false, nil } |