From a5c007a2e9b5171997d9df49d461aa9eda522cd6 Mon Sep 17 00:00:00 2001 From: handsomezhuzhu <2658601135@qq.com> Date: Mon, 25 Aug 2025 21:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=84=E8=AE=BA=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E9=80=82=E5=BD=93=E5=AE=8C=E5=96=84=E4=B8=BB=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/blog-theme.ts | 16 ++++++++++++++++ docs/.vitepress/theme/style.scss | 6 ++++-- 2 files changed, 20 insertions(+), 2 deletions(-) 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