Skip to content

Commit 8c184ed

Browse files
committed
将介绍页放在导航栏和侧边栏
1 parent 0fdc0d2 commit 8c184ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/.vuepress/navbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { navbar } from "vuepress-theme-hope";
22

3-
export default navbar(["/", "guides/"]);
3+
export default navbar(["intro", "/", "guides/", "contact"]);

src/.vuepress/sidebar.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { sidebar } from "vuepress-theme-hope";
22

33
export default sidebar({
44
"/guides/": [
5+
"/intro",
56
"/",
67
{
78
text: "指南",
@@ -21,5 +22,5 @@ export default sidebar({
2122
},
2223
"/contact",
2324
],
24-
"/": ["/", "/guides/", "contact"],
25+
"/": ["/", "intro", "/guides/", "contact"],
2526
});

0 commit comments

Comments
 (0)