I tried to enable multilingual support for my website. I followed the hugo documentation and added this to my
defaultContentLanguage: de defaultContentLanguageInSubdir: false languages: de: contentDir: content disabled: false languageCode: de-DE languageDirection: ltr languageName: Deutsch weight: 1 en: contentDir: content disabled: false languageCode: en-US languageDirection: ltr languageName: English weight: 2
for my work subpage
https://besendorf.org/work I added work.de.md and work.en.md in the
However now the links on my website are broken when in the English site. For example on
https://besendorf.org/en/work/ The home button links to
https://besendorf.org/en/work/en/ which does not exist.
Also on the english homepage “Posts” links to
https://besendorf.org/en/posts which return a 404. I think hugo would generate an english version of the posts page automatically. Is there anything else I would need to do for that?
My source: GitHub - besendorf/besendorf.github.io: My personal blog
My website: https://besendorf.org