Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-06-29 10:58:58 +0300
committerHanzei <hanzei@mailbox.org>2018-06-29 10:58:58 +0300
commit1677c5dd4ef4c658140fa526144e0022f7d1700d (patch)
treeaecd76e0a6b913e9c0cb627a231563e85011b094 /exampleSite/config.toml
parenta1f3a1ff63f43a3c20a5a6a5f6c79a4d647a9c2b (diff)
Add languageCode for every language
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 5fd55d0..2e30a51 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,4 @@
baseURL = "https://example.org/" # Your domain name. Must end with "/"
-languageCode = "en-us" # languageCode
DefaultContentLanguage = "en"
theme = "introduction"
enforce_ssl = false
@@ -47,6 +46,7 @@ enforce_ssl = false
[languages]
[languages.en]
languageName = "English"
+ languageCode = "en-us"
contentDir = "content/en"
weigth = 2
title = "Introduction"
@@ -56,6 +56,7 @@ enforce_ssl = false
footerText = "" # Text to override default footer text (markdown allowed)
[languages.es]
languageName = "Español"
+ languageCode = "es"
contentDir = "content/es"
weigth = 1
title = "Introducción"
@@ -65,6 +66,7 @@ enforce_ssl = false
footerText = ""
[languages.de]
languageName = "Deutsch"
+ languageCode = "de"
contentDir = "content/de"
weigth = 0
title = "Vorstellung"