Solitude Docs

Giscus Comments

Configure Giscus as a top-level Solitude 4 comment provider.

Configure shared behavior and select the provider in _config.solitude.yml:

comment:
  use: giscus
  commentBarrage: false
  lazyload: true
  count: true
  sidebar: false
  pv: false
  avatar: https://gravatar.com/avatar

giscus:
  repo: owner/repository
  repo_id: repository-id
  category_id: discussion-category-id
  theme:
    light: light
    dark: dark
  option:

Provider settings are top-level blocks, not children of comment. Enable GitHub Discussions and install the Giscus app for the selected repository. Giscus does not support Solitude recent-comment lists or PV counters.

Use comment: false in page Front Matter to disable comments locally. Verify initial load, repeated PJAX navigation, posting, theme switching, count display when supported, and the production domain allowlist.