I have a section called states with the structure: /states/state/cities/city eg /states/gujarat/cities
I am able to display a list of all states and individual state pages. It does not list cities though. Locally I don’t get an error page but a page with just
. On Netlify I do get the error page.If I create the cities folder a section on its own i.e. in root then it works fine.
The odd thing is that it worked briefly (including a single city page) but as soon as I restarted “hugo server” it disappeared and I am unable to display it.
I also created a separate list page for cities in layouts/citieslist which I call in frontmatter of the _index.md file with layout: “citieslist”.
Obviously, I must be doing something wrong but I fail to see what.
regards, Alfred
version: use Hugo 0.73
netlify: https://develop--odyssey-tours.netlify.app/states/gujarat/cities/
github: git@github.com:ourmaninindia/odyssey-tours.git