Multilang (#93)
* Add i18n langs trans example * partials * Update sample site * cc of variables of config * Clean PR * revert master data
This commit is contained in:
@@ -13,6 +13,17 @@ enableGitInfo: true
|
||||
# pygmentsStyle: monokailight
|
||||
pygmentsCodeFences: true
|
||||
|
||||
# Multilang config
|
||||
defaultContentLanguage: en
|
||||
|
||||
languages:
|
||||
en:
|
||||
languageName: English
|
||||
weight: 1
|
||||
ru:
|
||||
languageName: Russian
|
||||
weight: 2
|
||||
|
||||
params:
|
||||
# (Optional, default 6) Set how many table of contents levels to be showed on page.
|
||||
# Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/)
|
||||
|
||||
Reference in New Issue
Block a user