chore: switch the order of giscus and waline configurations

This commit is contained in:
radishzzz 2025-05-31 01:27:48 +01:00
parent a894c96fc7
commit 4d1e5b3054
8 changed files with 91 additions and 91 deletions

View file

@ -146,4 +146,10 @@ export default defineConfig({
devToolbar: {
enabled: false,
},
// For local development
// server: {
// headers: {
// 'Access-Control-Allow-Origin': 'https://giscus.app',
// },
// },
})

View file

@ -71,6 +71,19 @@ export const themeConfig: ThemeConfig = {
comment: {
// enable comment system
enabled: true, // true, false
// giscus
// https://giscus.app/
giscus: {
// repo: 'radishzzz/comment-giscus',
repoID: 'R_kgDOOy1K0w',
category: 'Announcements',
categoryID: 'DIC_kwDOOy1K084CqwuZ',
mapping: 'pathname',
strict: '0',
reactionsEnabled: '1',
emitMetadata: '0',
inputPosition: 'bottom',
},
// waline
// https://waline.js.org/en/
waline: {
@ -87,19 +100,6 @@ export const themeConfig: ThemeConfig = {
// image uploader
imageUploader: false, // true, false
},
// giscus
// https://giscus.app/
giscus: {
// repo: 'radishzzz/comment-giscus',
repoID: 'R_kgDOOy1K0w',
category: 'Announcements',
categoryID: 'DIC_kwDOOy1K084CqwuZ',
mapping: 'pathname',
strict: '0',
reactionsEnabled: '1',
emitMetadata: '0',
inputPosition: 'bottom',
},
},
// COMMENT SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END

View file

@ -99,6 +99,18 @@ global: {
comment: {
// enable comment system
enabled: true // true, false
// giscus comment system
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
// waline comment system
waline: {
// server url
@ -114,19 +126,6 @@ comment: {
// image uploader
imageUploader: false // true, false
}
// giscus
// https://giscus.app/
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
}
```

View file

@ -99,6 +99,18 @@ global: {
comment: {
// habilitar sistema de comentarios
enabled: true // true, false
// sistema de comentarios giscus
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
// sistema de comentarios waline
waline: {
// URL del servidor
@ -114,19 +126,6 @@ comment: {
// cargador de imágenes
imageUploader: false // true, false
}
// giscus
// https://giscus.app/
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
}
```

View file

@ -99,6 +99,18 @@ global: {
comment: {
// コメント機能を有効にする
enabled: true // true, false
// giscus コメント
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
// waline コメント
waline: {
// サーバー URL
@ -114,19 +126,6 @@ comment: {
// 画像アップローダー
imageUploader: false // true, false
}
// giscus
// https://giscus.app/
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
}
```

View file

@ -99,6 +99,18 @@ global: {
comment: {
// включить систему комментариев
enabled: true // true, false
// система комментариев giscus
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
// система комментариев waline
waline: {
// URL сервера
@ -114,19 +126,6 @@ comment: {
// загрузчик изображений
imageUploader: false // true, false
}
// giscus
// https://giscus.app/
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
}
```

View file

@ -99,6 +99,18 @@ global: {
comment: {
// 開啟評論
enabled: true // true, false
// giscus 評論
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
// waline 評論
waline: {
// 服務器地址
@ -114,19 +126,6 @@ comment: {
// 圖片上傳
imageUploader: false // true, false
}
// giscus
// https://giscus.app/
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
}
```

View file

@ -99,6 +99,18 @@ global: {
comment: {
// 开启评论
enabled: true // true, false
// giscus 评论
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
// waline 评论
waline: {
// 服务器地址
@ -114,19 +126,6 @@ comment: {
// 图片上传
imageUploader: false // true, false
}
// giscus
// https://giscus.app/
giscus: {
repo: 'radishzzz/comment-giscus'
repoID: 'R_kgDOOy1K0w'
category: 'Announcements'
categoryID: 'DIC_kwDOOy1K084CqwuZ'
mapping: 'pathname'
strict: '0'
reactionsEnabled: '1'
emitMetadata: '0'
inputPosition: 'bottom'
}
}
```