diff --git a/docs/.vitepress/locales/zh.ts b/docs/.vitepress/locales/zh.ts index 0ca15a1b..2a47b103 100644 --- a/docs/.vitepress/locales/zh.ts +++ b/docs/.vitepress/locales/zh.ts @@ -46,8 +46,8 @@ function nav() { }, { text: '运行时 API', - link: '/api/', - activeMatch: '/api/' + link: '/zh/api/', + activeMatch: '/zh/api/' }, { text: '配置参考', @@ -135,14 +135,14 @@ function sidebarGuide() { { text: '默认主题', link: '/guide/default-theme' }, { text: '扩展默认主题', - link: '/guide/customization-extending-default-theme' + link: '/zh/guide/customization-extending-default-theme' }, - { text: '构建自定义主题', link: '/guide/customization-intro' }, + { text: '构建自定义主题', link: '/zh/guide/customization-intro' }, { text: '运行时 API', - link: '/api/' + link: '/zh/api/' }, - { text: 'Build-Time Data Loading', link: '/guide/data-loading' } + { text: 'Build-Time Data Loading', link: '/zh/guide/data-loading' } ] } ] diff --git a/docs/zh/guide/customization-intro.md b/docs/zh/guide/customization-intro.md index 3641784b..2bd0f70d 100644 --- a/docs/zh/guide/customization-intro.md +++ b/docs/zh/guide/customization-intro.md @@ -205,6 +205,7 @@ export default { - `aside-ads-after` - 当通过 frontmatter 开启 `layout: 'home'`: - `home-hero-before` + - `home-hero-info` - `home-hero-after` - `home-features-before` - `home-features-after`