Skip to content

Commit

Permalink
配置主题和导航
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewens committed Jun 13, 2024
1 parent 81c3a4e commit 584d8bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export default defineConfig({
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
{ text: '主页', link: '/' },
{ text: '博客', link: '/src/posts' },
{ text: 'Trans', link: '/src/trans' }
],

sidebar: [
Expand All @@ -22,7 +23,7 @@ export default defineConfig({
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
{ icon: 'github', link: 'https://github.com/Sewens' }
]
}
})
Empty file added .vitepress/theme/index.ts
Empty file.

0 comments on commit 584d8bf

Please sign in to comment.