Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
index.md is generated in subfolder /index/index.html #3396
I've upgraded to Hugo v0.20.5 and the generated file location of the
I use following content structure to keep content and images together:
This generates the following structure:
Hugo before v0.20 (expected behavior)
This is how it should be.
Hugo v0.20 (wrong behavior)
I think it is not intended behavior to have an additional index subfolder (
There is a workaround if I set
Thanks for getting in touch, but it feels like this is a question that would be better suited to the Hugo Discussion Forum. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug. You may also find the answers you search for in Hugo Documentation.
I have slept on this, and we can fix easily this by saying that: