This repository exists for one purpose: hosting reader comments for the LoopGain blog via giscus, which stores each post's comment thread as a GitHub Discussion.
It is intentionally kept separate from the product and content repos so that blog conversation lives apart from code and issues.
- The blog embeds the giscus client (
layouts/_partials/comments.htmlin the blog repo). - giscus maps each blog page to a Discussion in this repo by pathname, creating one Discussion the first time a page receives a comment.
- Comment threads land in the Announcements category (Announcement-format, so only maintainers can open top-level discussions — every other thread is created by the giscus app on a reader's behalf).
- Commenting requires a GitHub login. That is a deliberate tradeoff: it eliminates spam and anonymous abuse at the cost of requiring an account.
| Field | Value |
|---|---|
| Repository | loopgain-ai/blog-comments |
| Mapping | pathname |
| Category | Announcements |
The repo ID and category ID are wired into the blog's giscus partial.
- Moderation: moderate threads from the Discussions tab. Deleting a Discussion removes the comment thread from the corresponding post.
- The giscus GitHub App must remain installed on this repository (org:
loopgain-ai) for comments to post. See https://github.com/apps/giscus.
No build, no code, no CI — just Discussions.