I have two languages defined on the Hugo site. By default, Hugo doesn't add a language prefix to the pages that belong to the default language.
In my case, I would also like to prefix the pages for the default language with the language prefix. And that would also require that pages of the default language to be generated into subfolder in public.
I would also like to avoid using aliases in markdown files.
Is this possible?
For prefix to the default language you need to add in your config.toml file one option:
Information from here - Configuration File Documentation
Output examples:
http://localhost:1313/about/
- without the optionhttp://localhost:1313/eu/about/
- with the optionBut I do not know if it will satisfied your required about "subfolder in public".