diff --git a/docs/.vitepress/blog-theme.ts b/docs/.vitepress/blog-theme.ts index 4e75d84..86a453b 100644 --- a/docs/.vitepress/blog-theme.ts +++ b/docs/.vitepress/blog-theme.ts @@ -93,6 +93,22 @@ const blogTheme = getThemeConfig({ // ], // duration: 0 //}, + comment: { + type: 'giscus', + options: { + repo: 'handsomezhuzhu/handsomezhuzhu.github.io', + repoId: 'R_kgDOPjK9uQ', + category: 'Q&A', + categoryId: 'DIC_kwDOPjK9uc4CukWC', + //mapping: 'pathname', + //reactionsEnabled: true, + //emitMetadata: false, + inputPosition: 'top', + //theme: 'preferred_color_scheme', + lang: 'zh-CN', + }, + mobileMinify: false + } }) export { blogTheme } diff --git a/docs/.vitepress/theme/style.scss b/docs/.vitepress/theme/style.scss index c1ee3f1..bcd5f48 100644 --- a/docs/.vitepress/theme/style.scss +++ b/docs/.vitepress/theme/style.scss @@ -17,7 +17,9 @@ html:not(.dark) .VPHome::before { background-image: url(/bgw.webp); } -// 隐藏置顶的icon + + .blog-item .pin.pin::before { - display: none; + // 修改颜色 + background-image: linear-gradient(#1E90FF, #1E90FF); } \ No newline at end of file