Hugo

Support for PAGE.HasMenuLevelCurrent function

Hi
We have a lot of pages, with a variety of menu levels, and uses IsMenuCurrent and HasMenuCurrent a lot to build localizable breadcrumbs, mobile nav etc.

We’re missing a function telling us, when ranging the menu if the current menu entry is a sibling to the current page.

Does it sound interesting/feasible?

You could try to use the .Parent value. Sibling menu entries should have the same .Parent.

1 Like