修复评论功能

This commit is contained in:
2025-08-25 21:35:53 +08:00
parent 50bfc0d5d2
commit 7bf6940915

View File

@@ -93,6 +93,7 @@ const blogTheme = getThemeConfig({
// ], // ],
// duration: 0 // duration: 0
//}, //},
comment: { comment: {
type: 'giscus', type: 'giscus',
options: { options: {
@@ -101,10 +102,10 @@ const blogTheme = getThemeConfig({
category: 'Q&A', category: 'Q&A',
categoryId: 'DIC_kwDOPjK9uc4CukWC', categoryId: 'DIC_kwDOPjK9uc4CukWC',
mapping: 'pathname', mapping: 'pathname',
reactionsEnabled: true, //reactionsEnabled: true,
emitMetadata: false, //emitMetadata: false,
inputPosition: 'top', inputPosition: 'top',
theme: 'preferred_color_scheme', //theme: 'preferred_color_scheme',
lang: 'zh-CN', lang: 'zh-CN',
}, },
mobileMinify: false mobileMinify: false