additional navigation customization
guruofgentoo opened this issue · comments
It would be helpful to be able to pass a couple of things into NavItem
instances for a menu:
class_
: we already haveicon_class
, but it would be helpful to be able to set the class for the whole menu itemcode
: attaching a code name to a menu item would help in custom render macros. Better than basing logic on the name, or having to do it by route while handling stem nodes (which don't have a route)