添加评论,并适当完善主体

This commit is contained in:
2025-08-25 21:24:00 +08:00
parent 59a1b1e29a
commit a5c007a2e9
2 changed files with 20 additions and 2 deletions

View File

@@ -93,6 +93,22 @@ const blogTheme = getThemeConfig({
// ], // ],
// duration: 0 // 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 } export { blogTheme }

View File

@@ -17,7 +17,9 @@ html:not(.dark) .VPHome::before {
background-image: url(/bgw.webp); background-image: url(/bgw.webp);
} }
// 隐藏置顶的icon
.blog-item .pin.pin::before { .blog-item .pin.pin::before {
display: none; // 修改颜色
background-image: linear-gradient(#1E90FF, #1E90FF);
} }