Fix home link with multi-language
This commit is contained in:
parent
a7fc843106
commit
19708aba48
1 changed files with 15 additions and 1 deletions
16
config.toml
16
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
|
||||
|
|
Loading…
Reference in a new issue