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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Xianmin <xianmin12@gmail.com>2022-09-06 15:25:56 +0300
committerChen Xianmin <xianmin12@gmail.com>2022-09-06 15:25:56 +0300
commit942f9d91bfdb94f4ee2699c7525ef582c0a7f79e (patch)
treeaf41dbaba46958e9ec6b37f07bd7e8e8126ee125 /dev-config.toml
parentf5d49e7bd8b727729e9e692a9cd0a1cff45b9e2d (diff)
fix: menu active
see: https://github.com/gohugoio/hugo/issues/9150#issuecomment-965798975
Diffstat (limited to 'dev-config.toml')
-rw-r--r--dev-config.toml18
1 files changed, 9 insertions, 9 deletions
diff --git a/dev-config.toml b/dev-config.toml
index 8f9006a..3018eb3 100644
--- a/dev-config.toml
+++ b/dev-config.toml
@@ -39,13 +39,13 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling
name = "Home"
weight = 10
identifier = "home"
- url = "/"
+ pageref = "/"
[[languages.en.menu.main]]
name = "Docs"
weight = 11
identifier = "docs"
- url = "/categories/docs/"
+ pageref = "/categories/docs/"
# docs submenu
#[[languages.en.menu.main]]
@@ -58,17 +58,17 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling
name = "Archives"
weight = 20
identifier = "archives"
- url = "/post/"
+ pageref = "/post/"
[[languages.en.menu.main]]
name = "Tags"
weight = 30
identifier = "tags"
- url = "/tags/"
+ pageref = "/tags/"
[[languages.en.menu.main]]
name = "Categories"
weight = 40
identifier = "categories"
- url = "/categories/"
+ pageref = "/categories/"
[[languages.en.menu.main]]
name = "external-link"
weight = 50
@@ -78,22 +78,22 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling
name = "主页"
weight = 10
identifier = "home"
- url = "zh-cn/"
+ pageref = "zh-cn/"
[[languages.zh-cn.menu.main]]
name = "归档"
weight = 20
identifier = "archives"
- url = "zh-cn/post/"
+ pageref = "zh-cn/post/"
[[languages.zh-cn.menu.main]]
name = "标签"
weight = 30
identifier = "tags"
- url = "zh-cn/tags/"
+ pageref = "zh-cn/tags/"
[[languages.zh-cn.menu.main]]
name = "分类"
weight = 40
identifier = "categories"
- url = "zh-cn/categories/"
+ pageref = "zh-cn/categories/"
[[languages.zh-cn.menu.main]]
name = "外部链接"
weight = 50