Skip to content

Commit

Permalink
feat(config): 添加主站链接
Browse files Browse the repository at this point in the history
  • Loading branch information
Leetfs committed Oct 18, 2024
1 parent b187079 commit 492bfa4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cf.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: 预构建

name: 构建并部署
on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ const nav: NavConfig = [
text: '关于',
link: '/about/',
},
{
text: '返回主站',
link: '../'
}
]

const baseConfig = {
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ hero:
- theme: alt
text: 关于
link: /about
- theme: alt
text: 返回主站
link: ../
---

0 comments on commit 492bfa4

Please sign in to comment.