I have a multi-language site set up with two languages where the file names determine the language (ie “content/articles/name.en.md” and “content/articles/name.sv.md”).
Now I’m trying to generate two languages from one content file. I want to only have one content file (“content/products/product01.md”) but two paths: www.website.com/en/products/product01 and www.website.com/products/product01.
The reason being that the content file (product01.md) only contains front-matter data that does not need to be translated. I don’t want to have duplicates of the content files since it would be too much work and hard to update.
Is there any way to do this with Hugo?