The index.html page contains no front matter (starts and ends with <html> tags) and used to be rendered completely by itself by Hugo, without pulling any templates from anywhere. It could be accessed by going to /folder/ on the rendered site.
I recently upgraded from Hugo 0.85.0 to 0.134.3 and the pages are no longer rendered from the raw html. Instead, the entire index.html file is treated as main in some kind of a larger template.
I also have some pages with the following structure:
Before I upgraded Hugo, the index.html pages in subfolder1 and subfolder2 would also get rendered completely on their own and fully custom css and html. But after the upgrade, they don’t get rendered at all, with Hugo throwing 404 error when I try to navigate to folder/subfolder1/ or folder/subfolder2/ in my browser.
I’m not sure what happened after I upgraded Hugo. Would appreciate any help here. Thank you!
Either to the front or to the end of layouts/_default/single.html but it doesn’t seem to change anything. The .html files are still not rendered…
Right now it seems like moving these pages into /static/ folder is the only solution. However, it has an unfortunate side-effect of breaking the links, since now the pages have to all be accessed by their full file names, rather being able to rely on folder URL pulling the index.html automatically…