Giscus Setup.

Giscus Setup

This site supports comments through Giscus. If the required values are missing from _config.yml, the post page shows a warning box instead of the embedded comment section.

What Giscus Needs

Add these values under giscus: in _config.yml:

Example:

giscus:
  repo: riffpointer/riffpointer.github.io
  repo_id: YOUR_REPO_ID
  category: General
  category_id: YOUR_CATEGORY_ID
  mapping: pathname
  strict: 0
  reactions_enabled: 1
  emit_metadata: 0
  input_position: bottom
  theme: preferred_color_scheme
  lang: en
  loading: lazy

How To Get The Values

  1. Go to giscus.app.
  2. Select the repository you want to use.
  3. Make sure the Giscus GitHub App is installed on that repository.
  4. Choose the discussion category that will store comments.
  5. Copy the generated repository and category IDs into _config.yml.

Required Repository Settings

Giscus only works if the repository is configured correctly:

Site Behavior

The comments section is included on post pages unless a post explicitly sets comments: false.

If Giscus is not configured correctly, the site shows a warning that lists the missing fields. For example:

That warning means the comment section is intentionally disabled until the missing values are filled in.

Troubleshooting