Exclude section from menu in config file?

I was wondering if there is any way I can exclude a new section from showing up in the main site menu, by configurations in my config.toml file? I couldn’t seem to find any info about that in the docs.

(One can of course easily exclude things on the template level, but I thought a configuration setting would be a bit more declarative and clear, if possible.)

That sounds like a theme option, rather than a site option. Which theme are you using? How does it generate its menu?

Hi maiki,

I use a custom rolled theme (see http://pharmb.io) and already managed to filter out the option in my theme there.

I just thought there must be a better way to do it, via a config somehow :slight_smile:

… but if not, I’ll have to live with that I guess :slight_smile:

Check out the menu docs, it has everything you need to set up your menus as you’d like, from the site config. :slight_smile: