I’d like to exclude a specific section from the menu, but I want it to continue to be accessible. Is there a way to do this? My theme “ananke” seems to use auto-generated section menus.
Thanks!
I’d like to exclude a specific section from the menu, but I want it to continue to be accessible. Is there a way to do this? My theme “ananke” seems to use auto-generated section menus.
Thanks!
When ranging through your menus, add an if
statement something like “if menu name does not equal x, then display”. Where x is the menu item you don’t want to display
Thanks!
I ended up solving instead by disabling “lazy menus” and manually specifying my menu in config.toml - https://gohugo.io/content-management/menus/