mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 21:44:40 -04:00
Update multilingual.md (#1899)
defaultContentLang does not work. to set the the default language use: defaultContentLanguage (as written above)
This commit is contained in:
parent
2173ed799b
commit
2563eee45e
@ -368,7 +368,7 @@ In case you need to pass a custom data: (`(dict "Count" numeric_value_only)` is
|
|||||||
The following localization examples assume your site's primary language is English, with translations to French and German.
|
The following localization examples assume your site's primary language is English, with translations to French and German.
|
||||||
|
|
||||||
{{< code-toggle file="config" >}}
|
{{< code-toggle file="config" >}}
|
||||||
defaultContentLang = 'en'
|
defaultContentLanguage = 'en'
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user