mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-14 18:56:46 +02:00
chore: switch the order of giscus and waline configurations
This commit is contained in:
parent
a894c96fc7
commit
4d1e5b3054
8 changed files with 91 additions and 91 deletions
|
@ -146,4 +146,10 @@ export default defineConfig({
|
|||
devToolbar: {
|
||||
enabled: false,
|
||||
},
|
||||
// For local development
|
||||
// server: {
|
||||
// headers: {
|
||||
// 'Access-Control-Allow-Origin': 'https://giscus.app',
|
||||
// },
|
||||
// },
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue