Hello,
I’m trying to publish some new content under a certain path.
I’ve got it working locally but after publishing it to my domain, I’m getting a 404 error.
My path is content/de/about/stack
I’ve added _index.md in my about/stack folder, it works locally with hugo server -D but after I do my ./deploy I’m getting a 404 online.
Here is my repo in case this helps.
git clone git@bitbucket.org :webdev-hq/tobias-hopp.de.git
Why is that and how can I fix it?
Thanks in advance.
frjo
September 2, 2024, 7:56pm
2
Rename content/de/about/index.md to content/de/about/_index.md.
Read up on Page bundles at:
Thank you for pointing me in the right direction.
What threw me off, was the fact that it worked locally, but not online. Thanks again.
frjo
September 3, 2024, 10:57am
4
Hugo create pages in parallel, one reason it is so fast. You can therefore end up in a race condition, different results depending on what is built first.
That’s a nice hint to keep in mind for the future.
Thanks again for the support.