It seems that no matter what I do, Hugo always generates folders with index.html files instead of putting the name in the file. This causes problems with relative URLs.
Is there any way to use Hugo to generate the expected output?
Most web servers serve an index.html when rendering pretty URLs, so where you want example.com/section/something.html, most folks want the URL to be example.com/section/something/.
I know, but, for example: fetching a resource at img.png. In /section/something.html, it would fetch /section/img.png while in /section/something/ it would fetch /section/something/img.png.
Thanks for mentioning uglyurls it seems to be exactly what I need.
It seems that Hugo treats folder/index.html and folder.html as the same thing. (They’re not.) Is there any way to get the expected output with Hugo (without manually setting the URLs)?