two languages
these language ContentDirs result in mounts for the project (no extra mount necessary)
you also had (commented) mounts below import, imho that’s not valid.
In general the module tells us what it wants to share. In the project restrict that using Merge configuration settings. I’m not an expert on these.
hugo.yaml
baseURL: https://example.org/
languageCode: en-us
defaultContentLanguage: en
defaultContentLanguageInSubDir: true
title: My New Hugo Site
module:
imports:
- path: github.com/theNewDynamic/gohugo-theme-ananke/v2
- path: github.com/honzik20/hugo-module-test
languages:
en:
title: Help
languageName: English
weight: 1
contentDir: "content/en"
fr:
title: Aide en ligne
languageName: French
weight: 1
contentDir: "content/fr"
The module content is single language, so lets export it for both languages