Solitude Docs

Giscus

Use GitHub Discussions as the Solitude comment backend.

Configuration

params:
  solitude:
    comment:
      use: giscus
      lazyload: true
      count: false
    giscus:
      repo: owner/repository
      repo_id: REPOSITORY_ID
      category_id: CATEGORY_ID
      mapping: pathname
      theme:
        light: light
        dark: dark
      option: {}

Enable Discussions and install the Giscus app. Keep mapping: pathname stable after launch.

Set comment: true on pages that should mount comments. Verify both a direct load and repeated PJAX navigation.