From 19708aba48c200b51793617af7a8e2695bbacc3a Mon Sep 17 00:00:00 2001 From: Melora Hugues Date: Mon, 26 Jun 2023 13:09:00 +0200 Subject: [PATCH] Fix home link with multi-language --- config.toml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 71411d8..83230e8 100644 --- a/config.toml +++ b/config.toml @@ -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