Thanks. That workaround would do the job, but I prefer to keep my posts in one place/folder.
Thing is, I blog mostly in my primary language, but sometimes in English. So, the posts never are translations of eachother. (And if they are, their title and slug will be different, so it shouldn’t be an issue.)
So my requirements are:
- All posts in one section “
- All posts are in a bundle
- Dutch posts are in
index.md and English posts are in
- List pages (homepage, section page, taxonomies etc.) permalinks are in their language folder (e.g.
/tags for Dutch and
/en/tags for English
- static pages (about etc.) permalinks are in their language folder (e.g.
/over for Dutch and
/en/about for English
- Permalinks for Dutch posts (in “posts” section) are in the site root ("/:year/:month/:day/:slug/")
- Permalinks for English posts (in “posts” section) are in the site root ("/:year/:month/:day/:slug/")
Files in content folder:
URLs / permalinks
https://example.org/ <== root
https://example.org/over <== static page
https://example.org/blog <== list page
https://example.org/2021/10/08/nederlands-bericht <== blog post