diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 2e1112b..fdd8ca8 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -50,7 +50,7 @@ export default defineConfig({ ], ], themeConfig: { - logo: { src: '/favicon.ico', width: 24, height: 24 }, + siteTitle: false, sidebarMenuLabel: '目录', returnToTopLabel: '回到顶部', docFooter: { diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css index d67a086..8330f40 100644 --- a/.vitepress/theme/custom.css +++ b/.vitepress/theme/custom.css @@ -3,6 +3,10 @@ 'Noto Sans SC', 'Source Han Sans SC', sans-serif; } +.VPNavBarTitle { + display: none; +} + html { overflow-x: clip; }