mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00: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:
1 parent
2173ed799b
commit
2563eee45e
1 file changed
+1
-1
@@ -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]
|
||||||
|
|||||||
Reference in new issue
Block a user