mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 03:02:53 +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: {
|
devToolbar: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
// For local development
|
||||||
|
// server: {
|
||||||
|
// headers: {
|
||||||
|
// 'Access-Control-Allow-Origin': 'https://giscus.app',
|
||||||
|
// },
|
||||||
|
// },
|
||||||
})
|
})
|
||||||
|
|
|
@ -71,6 +71,19 @@ export const themeConfig: ThemeConfig = {
|
||||||
comment: {
|
comment: {
|
||||||
// enable comment system
|
// enable comment system
|
||||||
enabled: true, // true, false
|
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
|
// waline
|
||||||
// https://waline.js.org/en/
|
// https://waline.js.org/en/
|
||||||
waline: {
|
waline: {
|
||||||
|
@ -87,19 +100,6 @@ export const themeConfig: ThemeConfig = {
|
||||||
// image uploader
|
// image uploader
|
||||||
imageUploader: false, // true, false
|
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
|
// COMMENT SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,18 @@ global: {
|
||||||
comment: {
|
comment: {
|
||||||
// enable comment system
|
// enable comment system
|
||||||
enabled: true // true, false
|
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 comment system
|
||||||
waline: {
|
waline: {
|
||||||
// server url
|
// server url
|
||||||
|
@ -114,19 +126,6 @@ comment: {
|
||||||
// image uploader
|
// image uploader
|
||||||
imageUploader: false // true, false
|
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: {
|
comment: {
|
||||||
// habilitar sistema de comentarios
|
// habilitar sistema de comentarios
|
||||||
enabled: true // true, false
|
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
|
// sistema de comentarios waline
|
||||||
waline: {
|
waline: {
|
||||||
// URL del servidor
|
// URL del servidor
|
||||||
|
@ -114,19 +126,6 @@ comment: {
|
||||||
// cargador de imágenes
|
// cargador de imágenes
|
||||||
imageUploader: false // true, false
|
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: {
|
comment: {
|
||||||
// コメント機能を有効にする
|
// コメント機能を有効にする
|
||||||
enabled: true // true, false
|
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 コメント
|
||||||
waline: {
|
waline: {
|
||||||
// サーバー URL
|
// サーバー URL
|
||||||
|
@ -114,19 +126,6 @@ comment: {
|
||||||
// 画像アップローダー
|
// 画像アップローダー
|
||||||
imageUploader: false // true, false
|
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: {
|
comment: {
|
||||||
// включить систему комментариев
|
// включить систему комментариев
|
||||||
enabled: true // true, false
|
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
|
||||||
waline: {
|
waline: {
|
||||||
// URL сервера
|
// URL сервера
|
||||||
|
@ -114,19 +126,6 @@ comment: {
|
||||||
// загрузчик изображений
|
// загрузчик изображений
|
||||||
imageUploader: false // true, false
|
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: {
|
comment: {
|
||||||
// 開啟評論
|
// 開啟評論
|
||||||
enabled: true // true, false
|
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 評論
|
||||||
waline: {
|
waline: {
|
||||||
// 服務器地址
|
// 服務器地址
|
||||||
|
@ -114,19 +126,6 @@ comment: {
|
||||||
// 圖片上傳
|
// 圖片上傳
|
||||||
imageUploader: false // true, false
|
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: {
|
comment: {
|
||||||
// 开启评论
|
// 开启评论
|
||||||
enabled: true // true, false
|
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 评论
|
||||||
waline: {
|
waline: {
|
||||||
// 服务器地址
|
// 服务器地址
|
||||||
|
@ -114,19 +126,6 @@ comment: {
|
||||||
// 图片上传
|
// 图片上传
|
||||||
imageUploader: false // true, false
|
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