I’m currently trying to build a site based on the academic theme and when I add folders to the docs section hugo doesn’t find them unless I rename de index.md file inside the folder to _index.md and the back to index.md while serving the site.
I’m running hugo 0.58.3 on mac.
hugo version
Hugo Static Site Generator v0.58.3/extended darwin/amd64 BuildDate: unknown
The problem doesn’t look like from the theme. It’s not that the problem is that the page doesn’t show up on the sidebar menu, the page never gets processed and you cannot access it going to the url directly.
It looks like the problem was with mixing ´index.md´ and ´_index.md´ in different places, so that solved it.
It still looks like hugo behavior is kind of erratic, given that if you rename the file while it’s running hugo serve it works, but if you restart it, it doesn’t. The behavior is not consistent.