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
This will need to wait for an upcoming improvements on object inputs 👀 but it would be good to have a guide on how to best manage Hugo menus in CloudCannon.
I'll moved over some starter content from Notion below 👇
We can use our Input Configuration and Structures.
After setting some configuration for menus in your Hugo config file, it then depends how you want to choose menus in each file.
Simple Menu
Here’s an example for being able to choose what menus a file appears in:
This will need to wait for an upcoming improvements on object inputs 👀 but it would be good to have a guide on how to best manage Hugo menus in CloudCannon.
I'll moved over some starter content from Notion below 👇
We can use our Input Configuration and Structures.
After setting some configuration for menus in your Hugo config file, it then depends how you want to choose menus in each file.
Simple Menu
Here’s an example for being able to choose what menus a file appears in:
/content/about.md
Then the
_inputs
configuration:/cloudcannon.config.yml
That gives you this input:
Advanced menu:
This is the one with
weight
andparent
keys:/content/about.md
Once we have released support for adding keys to an object, you'll be able to configure something more flexible using the
allowed_keys
config:/cloudcannon.config.yml
The text was updated successfully, but these errors were encountered: