Fix home link with multi-language

This commit is contained in:
Melora Hugues 2023-06-26 13:09:00 +02:00
parent a7fc843106
commit 19708aba48

View file

@ -1,5 +1,5 @@
baseURL = "https://faercol.me"
languageCode = "en-us"
# languageCode = "en-us"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = true
favicon = true
@ -72,19 +72,33 @@ publishDir = "public"
contentDir = "content/en"
[languages.en.params]
homeSubtitle = "This is where I mostly talk about tech... and stuff"
[languages.en.params.logo]
logoText = "Hello there!"
logoHomeLink = "/en/"
[languages.fr]
contentDir = "content/fr"
[languages.fr.params]
homeSubtitle = "Là où je parle de tech... et d'autres trucs"
[languages.fr.params.logo]
logoText = "Hello there!"
logoHomeLink = "/fr/"
[menu]
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "/posts"
weight = 1
[[menu.main]]
identifier = "about_me"
name = "About me"
url = "/about-me"
weight = 10
[[menu.main]]
identifier = "resume"
name = "Resume"
url = "https://resume.faercol.me"
weight = 40