added multilanguage support to the config file

pull/959/head
CoolerWuffi 6 months ago committed by GitHub
parent 2d8642ec41
commit f1aeb3e7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,4 @@
baseURL = 'https://based.cooking/'
languageCode = 'en-us'
title = 'Based Cooking'
theme = 'lugo'
[params]
@ -13,3 +11,27 @@ theme = 'lugo'
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
defaultContentLanguage = 'en-US'
defaultContentLanguageInSubdir = true
[languages]
[languages.de]
contentDir = 'content/de'
disabled = false
languageCode = 'de-DE'
languageDirection = 'ltr'
languageName = 'Deutsch'
title = 'Freies Kochen'
weight = 2
[languages.de.params]
subtitle = 'Based Cooking in Deutsch'
[languages.en]
contentDir = 'content/en-us'
disabled = false
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
title = 'Based Cooking'
weight = 1
[languages.en.params]
subtitle = 'Based Cooking in english'

Loading…
Cancel
Save