Links broken with multilingual website

Hi,

I tried to enable multilingual support for my website. I followed the hugo documentation and added this to my config.yml.

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 content directory.

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

Separate dirs under content, one for each language:

languages:
  de:
    contentDir: content/de  <-------------
    disabled: false
    languageCode: de-DE
    languageDirection: ltr
    languageName: Deutsch
    weight: 1
  en:
    contentDir: content/en  <-------------
    disabled: false
    languageCode: en-US
    languageDirection: ltr
    languageName: English
    weight: 2

Or remove those lines if you are including the language key in file names.

My baseurl was wrong. Im so sorry. However Im still wondering about how to make hugo use the German version when the english one is not available

If you use different directories for each language, you can use module mounts to fill in the gaps. When using separate language directories, do not include the language key in the filename.

See this comment, and take the test project for a drive:
https://discourse.gohugo.io/t/37225/12