diff options
Diffstat (limited to 'exampleSite/config.yaml')
-rw-r--r-- | exampleSite/config.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 3d8dedc..90ab3f1 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -13,18 +13,22 @@ enableGitInfo: true # pygmentsStyle: monokailight pygmentsCodeFences: true -# Multilang config -defaultContentLanguage: en - +# Multi-lingual mode config +# There are different options to translate files +# See https://gohugo.io/content-management/multilingual/#translation-by-filename +# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory languages: en: languageName: English + contentDir: content weight: 1 ru: languageName: Russian + contentDir: content.ru weight: 2 cn: languageName: Chinese + contentDir: content.cn weight: 3 params: |