Add multiple languages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
d6b615f913
commit
9f67be318d
2 changed files with 12 additions and 3 deletions
13
config.toml
13
config.toml
|
@ -1,14 +1,23 @@
|
||||||
BaseURL = "https://bouah.net"
|
BaseURL = "https://bouah.net"
|
||||||
languageCode = "en-us"
|
|
||||||
title = "Grumpy pep."
|
title = "Grumpy pep."
|
||||||
theme = "kiss"
|
theme = "kiss"
|
||||||
copyright = "© <a href=\"https://bouah.net\">Maxime “pep.” Buquet</a> 2019. Licensed under <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">CC-BY-SA 4.0</a> unless specified."
|
|
||||||
googleAnalytics = ""
|
googleAnalytics = ""
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
disqusShortname = ""
|
disqusShortname = ""
|
||||||
|
|
||||||
staticDir = ["static"]
|
staticDir = ["static"]
|
||||||
|
|
||||||
|
languageCode = "en-us"
|
||||||
|
defaultContentLanguage = 'en'
|
||||||
|
[languages]
|
||||||
|
[languages.en]
|
||||||
|
weight = 1
|
||||||
|
languageName = "English"
|
||||||
|
copyright = "© <a href=\"https://bouah.net\">Maxime “pep.” Buquet</a> 2019. Licensed under <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">CC-BY-SA 4.0</a> unless specified."
|
||||||
|
[languages.fr]
|
||||||
|
weight = 2
|
||||||
|
languageName = "Français"
|
||||||
|
copyright = "© <a href=\"https://bouah.net\">Maxime “pep.” Buquet</a> 2019. Sous license <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">CC-BY-SA 4.0</a> sauf indication contraire."
|
||||||
[params]
|
[params]
|
||||||
author = "pep."
|
author = "pep."
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 215118a2d5784c5bfef8c9414740db325e72c818
|
Subproject commit 9e9dca2c5682aceb6113fa24c75d80c7c596f88b
|
Loading…
Reference in a new issue