fix: giscus settings

This commit is contained in:
Timothy Lin
2021-07-18 17:09:00 +08:00
parent 8084247377
commit e0ac7b7dc3
3 changed files with 6 additions and 2 deletions

View File

@ -152,9 +152,10 @@ comment: {
giscusConfig: {
repo: '', // username/repoName
// Visit the link below, enter your repo in the configuration section and copy the script data parameters
// Before that you should create a new Github discussions category with the Announcements type so that new discussions can only be created by maintainers and giscus
// https://giscus.app/
repositoryId: '',
categoryId: '',
category: '',
mapping: '', // supported options: pathname, url, title
reactions: '', // Emoji reactions: 1 = enable / 0 = disable
// Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable