diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-07-20 12:10:22 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-07-20 17:50:59 +0200 |
commit | d831d2fce8198fb814ea4d3d8c311db5c388d04c (patch) | |
tree | 6aef026a4941e625e4a23a72644bc70a7d98c292 /hugolib/page__menus.go | |
parent | 634481ba8cfcd865ba0d8811d8834f6af45663d7 (diff) |
Simplify "active menu" logic for section menus
Fixes #8776
Diffstat (limited to 'hugolib/page__menus.go')
-rw-r--r-- | hugolib/page__menus.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hugolib/page__menus.go b/hugolib/page__menus.go index e64ffa2c9..49d392c2f 100644 --- a/hugolib/page__menus.go +++ b/hugolib/page__menus.go @@ -56,7 +56,6 @@ func (p *pageMenus) menus() navigation.PageMenus { func (p *pageMenus) init() { p.pmInit.Do(func() { p.q = navigation.NewMenuQueryProvider( - p.p.s.Info.sectionPagesMenu, p, p.p.s, p.p, |