aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hugo.toml14
-rw-r--r--layouts/partials/nav.html1
2 files changed, 7 insertions, 8 deletions
diff --git a/hugo.toml b/hugo.toml
index 0f7f9d0..622897a 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -30,23 +30,23 @@ unsafe = true
[[menu.main]]
name = "分类"
- url = "/categories"
+ url = "/categories/随笔/"
weight = 2
[[menu.main]]
- name = "友人"
- url = "/links"
+ name = "归档"
+ url = "/archives"
weight = 3
[[menu.main]]
- name = "归档"
- url = "/archives"
- weight = 4
+ name = "书单"
+ url = "/readings"
+ weight = 3
[[menu.main]]
name = "关于"
url = "/about"
- weight = 5
+ weight = 6
[params]
upvote = true
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 5b9d089..96bf26b 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,4 +1,3 @@
-<a href="{{ "" | relURL }}">首页</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}