Skip to content

Blog Usage - Set Up a Comment System

This blog system comes with a built-in giscus comment component. The following steps will guide you through its configuration:

  1. Prepare a GitHub Repository

  2. Install the giscus GitHub App

    • Visit the giscus app page and click Install to add it to your repository. Otherwise, visitors will not be able to comment or reply.
      AgADahgAAkWUCVU.webp
  3. Enable the Discussions Feature

    • Go to your GitHub repository
    • Click Settings in the top navigation
    • Scroll down and find the Discussions option, then enable it
    • Once enabled, the Discussions tab will appear at the top of the repository
      AgADbBgAAkWUCVU.webp

    AgADZhgAAkWUCVU.webp

  4. Configure giscus Parameters

    • Open the giscus official site

    • In the Repository input field, enter your GitHub username and repository name in the format username/repository
      AgADaBgAAkWUCVU.webp

    • For Discussion Category, select a category such as General, or define your own
      AgADaRgAAkWUCVU.webp

    • Continue scrolling to view the generated <script> code
      AgADaxgAAkWUCVU.webp

    • Add this code to your blog project. For detailed instructions, refer to: Blog Usage - Basic Guide