You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see support added for custom variables in menu items. The current supported variables are quite limited and makes it hard to give theme users more customization options.
Adding custom variables could be placed under params, which is consistent with standard Hugo.
[menu]
[[menu.item]]
identifier = "id"
name = "name"
url = "home/"
weight = 1
pre = "<p>pre html</p>"
post = "<p>post html</p>"
[menu.item.params]
customVar = "custom"
I can see that others also previously have raised this: #5953
The text was updated successfully, but these errors were encountered:
I would like to see support added for custom variables in menu items. The current supported variables are quite limited and makes it hard to give theme users more customization options.
Adding custom variables could be placed under
params
, which is consistent with standard Hugo.I can see that others also previously have raised this: #5953
The text was updated successfully, but these errors were encountered: