Something like this in configs, the top menu do not relate to any pages, the submenu would be some standalone page or a simple link.
[[menu.main]]
name = "File"
weight = 10
[[menu.main.submenu]]
name = "New File"
weight = 10
identifier = "archive"
url = "/posts/"
[[menu.main]]
name = "Edit"
weight = 10
[[menu.main.submenu]]
name = "Undo"
weight = 10
identifier = "archive"
url = "/posts/"
Is there a method to read and iterate these settings? I also tried with params
, both didn’t work.