Add languageCode for every language

This commit is contained in:
Hanzei 2018-06-29 09:58:58 +02:00
parent a1f3a1ff63
commit 1677c5dd4e
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0

View file

@ -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"