Closed agonist closed 1 year ago
hi, can you make a repo showcasing the problem you're describing ? EDIT: I'm going to close this until a repository is made.
@narduin sounds great ! I will take a look thanks. didn't had time to work on it again but if I'm still running into the issue I'll post a repo.
Hi, first great job, I'm enjoying using the library and would be potentially keen to contribute.
I have successfully published a website using it, but now that I want to add a blog section, I wonder how to combine this lib with the new Astro content folder.
if simply using it naively with a
[slug].astro
page and my md files in the content folder we will endup having duplicated route in each language.What I'm expecting to have:
/blog/article-1-in-english
. // default language/fr/blog/article-1-in-french
// second languageBut what is being generated let you access:
/blog/article-1-in-english
./blog/article-1-in-french
./fr/blog/article-1-in-english
/fr/blog/article-1-in-french
Which is normal considering how both systems works. So I'm wondering, at which level could we make sure this does not happen ? I'm not an Astro expert yet but if something could make it happen I'd be happy to try and implement it.
Maybe by giving the possibility to ignore some page in the i18n.config it could helps 🤔