Skip to content

Commit d8dc1b8

Browse files
author
lzm
committed
fix(blog): switch giscus category to General
GitHub's default Announcements discussion category is maintainer-only by design, so logged-in users without admin rights can't post via giscus — they got 'Unable to create discussion' even though the giscus-app was installed with Read+Write permissions. General is open to all repo visitors who are logged into GitHub. Discussion category id confirmed via GitHub GraphQL API: Announcements = DIC_kwDOFxYtfs4DEf3i (maintainer-only, rejected) General = DIC_kwDOFxYtfs4DEf3j (open to all)
1 parent ea69e7c commit d8dc1b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hugo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ params:
7575
giscus:
7676
repo: "LiMingCoding/LiMingCoding.github.io"
7777
repoId: "387329406"
78-
category: "announcements"
79-
categoryId: "DIC_kwDOFxYtfs4DEf3i"
78+
category: "general"
79+
categoryId: "DIC_kwDOFxYtfs4DEf3j"
8080
mapping: "pathname"
8181
strict: "0"
8282
reactionsEnabled: "1"

0 commit comments

Comments
 (0)