Open irkode opened 6 months ago
Summary...
hugo new site foo
cd foo
hugo new _index.md
hugo new index.md
This was not a problem with v0.122.0. Fails with v0.123.0 and later.
I have something that might be related to this issue on hugo v0.125.4+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs
.
In my issue - when there is index.md
- hugo doesn't generate content for any subfolders.
E.g. if there is content/myFolder/post.md
it will not generate in public
@ca5ua1 If you have a directory with descendant pages it is a branch bundle, and you must use an _index.md
file instead of an index.md
file. See documentation.
@jmooring ah, I see. That's confusing. Thanks for pointing that out
edit: added generated files
Hugo crashed when I accidently executed a rather strange sequence of
new content
commands:I consider that as an edge case - but message itself states it as bug
I accidently [^1] tried to create
*index.md
files in the following order (one without underscore)Hugo crashed with: panic: [BUG] no Page found for "C:\_my\test\content\index.md"
Steps to reproduce: on Windows 10
content of _index.md - taken from archetypes/default.md
content of _index.md
[^1]: hurray for Copy'n'Paste and shell history ;-)