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?
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
… but if not, I’ll have to live with that I guess
Check out the menu docs, it has everything you need to set up your menus as you’d like, from the site config.