Closed Toasterson closed 10 months ago
I can't access the repo, i get a 404
As for the issue, we auto-generate a _index.md
for the root section (content/
) as homepage if there isn't one. index.md
is a reserved file name in Zola to indicate a page with colocated assets so it can't be used outside of that context. We should add it to the docs if it isn't mentioned.
Ah, gitlab defaults to private repos for me. Good to know. Made it visible no secrets in there.
I think I got confused with pages and language docs, yes. Especially since the quick start blog skips the index page and only adds the html. With _index I get the first page but I guess sections cannot be translated? So I can not get /en/ to show the english version by having _index.en.md I guess?
Looks like I got confused. With my current setup it works now.
Bug Report
Environment
Zola version: 0.17.2 (Archlinux)
Expected Behavior
Site renders index page in multiple languages de and en default. with en placed at root and de under /de/
Current Behavior
Site fails to build with
Step to reproduce
The following is my content tree
Current Repo is here https://gitlab.com/Toasterson/atelierwegi
As soon as I place any index.md or _index.md file in the root this happens. I can work around it my manually adding the index.md content to the index.html or by making the browser auto switch to a fake language section by making a de.md and a en.md and place some javascript into the index.html to switch th page but it would be nice to have the index be markdownable aswell.