diff options
author | Jimmy Cai <jimmehcai@gmail.com> | 2020-09-13 15:03:41 +0300 |
---|---|---|
committer | Jimmy Cai <jimmehcai@gmail.com> | 2020-09-13 15:03:41 +0300 |
commit | 4267346a4ad5932dc39238469bb3b812922f32c1 (patch) | |
tree | 6527d8f6764f655a5852165a58facb03f7d8f9b1 /exampleSite | |
parent | 779982eb957c6e327885f921224768837a7007db (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.toml | 4 |
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" |