diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-27 09:30:05 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-27 09:30:05 +0100 |
commit | 4f1e4bb3fe8241d7a900f57e156f9679768aff24 (patch) | |
tree | d0be819df4b7a1b1f073e4dfb5acfb9472d379bf /docs/content/en/content-management/multilingual.md | |
parent | d162bbd7990b6a523bdadcd10bf60fcb43ecf270 (diff) | |
parent | 9f1265fde4b9ef186148337c99f08601633b6056 (diff) |
Merge commit '9f1265fde4b9ef186148337c99f08601633b6056'
Diffstat (limited to 'docs/content/en/content-management/multilingual.md')
-rw-r--r-- | docs/content/en/content-management/multilingual.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/content-management/multilingual.md b/docs/content/en/content-management/multilingual.md index 036d74064..e24c573c2 100644 --- a/docs/content/en/content-management/multilingual.md +++ b/docs/content/en/content-management/multilingual.md @@ -26,7 +26,7 @@ You should define the available languages in a `languages` section in your site The following is an example of a site configuration for a multilingual Hugo project: {{< code-toggle file="config" >}} -DefaultContentLanguage = "en" +defaultContentLanguage = "en" copyright = "Everything is mine" [params] @@ -71,7 +71,7 @@ If the default language needs to be rendered below its own language code (`/en`) Only the obvious non-global options can be overridden per language. Examples of global options are `baseURL`, `buildDrafts`, etc. -**Please note:** use lowercase language codes, even when using regional languages (ie. use pt-pt instead of pt-PT). Currently Hugo language internals lowercase language codes, which can cause conflicts with settings like `DefaultContentLanguage` which are not lowercased. Please track the evolution of this issue in [Hugo repository issue tracker](https://github.com/gohugoio/hugo/issues/7344) +**Please note:** use lowercase language codes, even when using regional languages (ie. use pt-pt instead of pt-PT). Currently Hugo language internals lowercase language codes, which can cause conflicts with settings like `defaultContentLanguage` which are not lowercased. Please track the evolution of this issue in [Hugo repository issue tracker](https://github.com/gohugoio/hugo/issues/7344) ### Disable a Language |