mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
main link does not switch back to default language if in another language (#202)
no need to configure the language path in the different pages
This commit is contained in:
@@ -84,22 +84,22 @@ disqusShortname = "yourdiscussshortname"
|
||||
[[languages.en.menu.main]]
|
||||
name = "About"
|
||||
weight = 1
|
||||
url = "/about/"
|
||||
url = "about/"
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Blog"
|
||||
weight = 2
|
||||
url = "/posts/"
|
||||
url = "posts/"
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Projects"
|
||||
weight = 3
|
||||
url = "/projects/"
|
||||
url = "projects/"
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Contact me"
|
||||
weight = 5
|
||||
url = "/contact/"
|
||||
url = "contact/"
|
||||
|
||||
|
||||
[languages.pt-br]
|
||||
@@ -118,19 +118,19 @@ disqusShortname = "yourdiscussshortname"
|
||||
[[languages.pt-br.menu.main]]
|
||||
name = "Sobre"
|
||||
weight = 1
|
||||
url = "/pt-br/about/"
|
||||
url = "about/"
|
||||
|
||||
[[languages.pt-br.menu.main]]
|
||||
name = "Blog"
|
||||
weight = 2
|
||||
url = "/pt-br/posts/"
|
||||
url = "posts/"
|
||||
|
||||
[[languages.pt-br.menu.main]]
|
||||
name = "Projetos"
|
||||
weight = 3
|
||||
url = "/pt-br/projects/"
|
||||
url = "projects/"
|
||||
|
||||
[[languages.pt-br.menu.main]]
|
||||
name = "Contato"
|
||||
weight = 5
|
||||
url = "/pt-br/contact/"
|
||||
url = "contact/"
|
||||
|
||||
Reference in New Issue
Block a user