hugo/navigation
Bjørn Erik Pedersen 32508045d3
navigation: Check Page first in URL()
In Hugo #8776 we added `pageRef`, a way to connect menu items in site config to pages.

This means that you now can have both a Page and a configured URL.

Having the configured URL as a fallback if the Page isn't found is obviously more useful, especially in multilingual sites.

See #8776
2021-07-21 11:36:15 +02:00
..
menu.go navigation: Check Page first in URL() 2021-07-21 11:36:15 +02:00
menu_cache.go
menu_cache_test.go
pagemenus.go Simplify "active menu" logic for section menus 2021-07-20 17:50:59 +02:00