So I went for a different approach for my multilingual site as my client specified on having each language files in content
under Lagrange specific folders (e.g. en
, fr
, de
in content
).
This is to avoid what mfima went through here: Content organization not working in multilingual site.
Current setup:
/Content
/en/index.md
/en/contact.md
/fr/index.md
/fr/contact.md
/fr/index.md
/fr/contact.md
/Layouts
/_default/baseof.html
/en/single.html
/fr/single.html
/fr/single.html
In the MD front matter I specify url = "/en/index.html"
per file. The index loads just fine in example.com/en
per language.
Now my problem is with the contact.md
. It does not load in example.com/en/contact
. I get a 404.
I’ve specified the url in the contact.md
front matter as well but no dice. Help?