新增:《关于知识库》

This commit is contained in:
2022-07-07 11:14:40 +08:00
parent 83b8e8b12c
commit 9c2c430242
4 changed files with 74 additions and 1 deletions

View File

@@ -40,7 +40,8 @@ export default ({
// 侧边栏
sidebar: {
'/issues/': sidebarIssues(),
'/fragments/': sidebarFragments()
'/fragments/': sidebarFragments(),
'/about/': sidebarAbout()
}
}
})
@@ -54,6 +55,10 @@ function nav() {
{
text: '杂碎逆袭史',
link: '/fragments/index'
},
{
text: '关于知识库',
link: '/about/index'
}
]
}
@@ -78,3 +83,13 @@ function sidebarFragments() {
}
]
}
function sidebarAbout() {
return [
{
items: [
{ text: '关于笔者', link: '/about/me' }
]
}
]
}