Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-13 15:03:41 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-13 15:03:41 +0300
commit4267346a4ad5932dc39238469bb3b812922f32c1 (patch)
tree6527d8f6764f655a5852165a58facb03f7d8f9b1 /exampleSite
parent779982eb957c6e327885f921224768837a7007db (diff)
fix: use absLangURL for menu url
To avoid problem when the site is hosted in subdirectory
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c83e4ef..3f5b50c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -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"