fix: use absLangURL for menu url

To avoid problem when the site is hosted in subdirectory
This commit is contained in:
Jimmy Cai
2020-09-13 14:03:41 +02:00
parent 779982eb95
commit 4267346a4a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -64,13 +64,13 @@ DefaultContentLanguage = "en" # Theme i18n support
[[menu.main]]
identifier = "about-cn"
name = "About"
url = "/about/"
url = "about"
weight = -90
pre = "user"
[[menu.main]]
identifier = "archives"
name = "Archives"
url = "/archives/"
url = "archives"
weight = -70
pre = "archives"