I’ve configured menu in config.yml
menu:
kb:
- { name: "Contacts", weight: -100, identifier: "contacts", url: "/contacts/index.html" }
My foldder struture is
contacts(folder)
-index.md
-locations.md
-departments.md
Also, the generated content should be same as the above.
But, If I set uglyUrls: true
, It generated as the below
contacts/index.html
contacts/locations/index.html
contacts/departments/index.html
If I set uglyUrls: false
, the menu URL is generated as contacts/contacts.html automatically by hugo
I want the cotent should be geneated as below and the menu URL should be geneated what I set in config ( i.e contacts/index.html
)
contacts/index.html
contacts/locations.html
contacts/departments.html
Help appreciated
Thanks
NkS