New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Either /folder/index.html or /folder/other-file.html works but not both #4724
Comments
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. |
How is this a question? Do you see any question marks there? This is a bug report: there are 2 separate behaviors (listed above). There should be 1 behavior. Yes, this is a "genuine bug report". I see that you (counter-intuitively) decided to make /content/folder/index.html not overwrite /layouts/_default/list.html. I don't like it because I was expecting that index.html will be present at I feel like I already explained what's the problem sufficiently above. This is happening RANDOMLY so I can't provide any exact steps to reproduce this issue.
How often this happens? How to switch from
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have this:
Behavior:
http://localhost:1313/folder/
it displays index.html.http://localhost:1313/folder/other-file/
it displays404 page not found
.But when I make any change to other-file.html then this now happens:
http://localhost:1313/folder/
it displays /layouts/_default/list.html (should be index.html)http://localhost:1313/folder/other-file/
it displays other-file.htmlIt's random and interchangeable. I don't see any logic or fix.
Hugo Static Site Generator v0.40.3 windows/amd64 BuildDate: 2018-05-09T07:47:04Z
The text was updated successfully, but these errors were encountered: