mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 14:30:01 +00:00
Add languageCode for every language
This commit is contained in:
parent
a1f3a1ff63
commit
1677c5dd4e
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
baseURL = "https://example.org/" # Your domain name. Must end with "/"
|
baseURL = "https://example.org/" # Your domain name. Must end with "/"
|
||||||
languageCode = "en-us" # languageCode
|
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
theme = "introduction"
|
theme = "introduction"
|
||||||
enforce_ssl = false
|
enforce_ssl = false
|
||||||
|
@ -47,6 +46,7 @@ enforce_ssl = false
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
|
languageCode = "en-us"
|
||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
weigth = 2
|
weigth = 2
|
||||||
title = "Introduction"
|
title = "Introduction"
|
||||||
|
@ -56,6 +56,7 @@ enforce_ssl = false
|
||||||
footerText = "" # Text to override default footer text (markdown allowed)
|
footerText = "" # Text to override default footer text (markdown allowed)
|
||||||
[languages.es]
|
[languages.es]
|
||||||
languageName = "Español"
|
languageName = "Español"
|
||||||
|
languageCode = "es"
|
||||||
contentDir = "content/es"
|
contentDir = "content/es"
|
||||||
weigth = 1
|
weigth = 1
|
||||||
title = "Introducción"
|
title = "Introducción"
|
||||||
|
@ -65,6 +66,7 @@ enforce_ssl = false
|
||||||
footerText = ""
|
footerText = ""
|
||||||
[languages.de]
|
[languages.de]
|
||||||
languageName = "Deutsch"
|
languageName = "Deutsch"
|
||||||
|
languageCode = "de"
|
||||||
contentDir = "content/de"
|
contentDir = "content/de"
|
||||||
weigth = 0
|
weigth = 0
|
||||||
title = "Vorstellung"
|
title = "Vorstellung"
|
||||||
|
|
Loading…
Reference in a new issue