mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 06:44:07 -06:00
提交giscus参数
This commit is contained in:
parent
5ed5ba2361
commit
9c60f295ed
@ -10,25 +10,13 @@ export const sharedPageComponents: SharedLayout = {
|
|||||||
Component.Comments({
|
Component.Comments({
|
||||||
provider: 'giscus',
|
provider: 'giscus',
|
||||||
options: {
|
options: {
|
||||||
// from data-repo
|
repo: 'wangzipai/quartz',
|
||||||
repo: 'xxx',
|
repoId: 'R_kgDONHTeAQ',
|
||||||
// from data-repo-id
|
|
||||||
repoId: 'xxx',
|
|
||||||
// from data-category
|
|
||||||
category: 'Announcements',
|
category: 'Announcements',
|
||||||
// from data-category-id
|
categoryId: 'DIC_kwDONHTeAc4Cj0YK',
|
||||||
categoryId: 'xxx',
|
|
||||||
// how to map pages -> discussions
|
|
||||||
// defaults to 'url'
|
|
||||||
mapping: "pathname",
|
mapping: "pathname",
|
||||||
// use strict title matching
|
|
||||||
// defaults to true
|
|
||||||
strict: false,
|
strict: false,
|
||||||
// whether to enable reactions for the main post
|
|
||||||
// defaults to true
|
|
||||||
reactionsEnabled: true,
|
reactionsEnabled: true,
|
||||||
// where to put the comment input box relative to the comments
|
|
||||||
// defaults to 'bottom'
|
|
||||||
inputPosition: "top",
|
inputPosition: "top",
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user