Closed sarahelsaig closed 1 year ago
At that point, perhaps one would rather override the given shape and display the menu directly? Or are we talking about mixing multiple providers?
I was thinking of the latter. For example Lobiq.BaseTheme.Samples you'd want to merge it with the existing main menu navigation providers.
Sounds good.
For example the Blog theme uses a Menu content type that contains
MenuItemListPart
to create its menu.One way to do this is adding a new
INavigationProvider
that either looks for a content item with "main-menu" alias, or queries forMenuItemListPart
. As far as I can see there is currently no index for this content part, so if we do the latter then an additional index provider would be good too.Jira issue