Hi ! I’m using forestry.io as a CMS. Forestry.io “auto-detects” menus and will give you the possibility to edit them via the UI.
I don’t use this feature but I have some “menu data” in my content pages frontmatter which is deleted by Forestry each time I try to edit the page in question.
Example of removed code in /references/reference-1.md :
menu:
main:
parent: references
weight: 1
As a result, each time I try to edit those pages via the CMS, they disappear from my menu.
It’s quite problematic for me, because I want the user to be able to create new pages (which will be added to the menu) and I don’t know another way of making this work via Hugo, other than using the Menus.
I’m aware this is maybe more of a Forestry issue, but since there seems to be no way of saying “don’t auto-detect” my menus, I’m looking for a Hugo-side way.
Thanks for your help.