Comments

This theme has built-in support for comment on the posts. Currently, it support the following comment plugins:

For a complete list of supported comments, please refer the sample config.yaml file.

Disqus

Disqus is a popular comment plug-in. After signing up to Disqus you will need to provide your shortname under params.features section of your config.yaml file as below:

comment:
  enable: true
  services:
    disqus:
      shortName: toha-example-site

Valine

Valine appears to be a Chinese comments comments plugin. You can enable valine comment plugin by adding valine section under params.features section as shown below:

comment:
  enable: true
  services:
    valine:
      appId: app-id
      appKey: app-key
      avatar: retro
      placeholder: Share your thought.
      lang: en
      recordIP: true
      enableQQ: true

Utterances

To enable Utterances comment plugin, at first go to utteranc.es. On the Configuration section, provide the necessary information. It will give you a script to include to your site. You just need to extract the respective information from the script and provide it under params.features section as below:

comment:
  enable: true
  services:
    utteranc:
      repo: your-repo/name
      issueTerm: title
      theme: github-light

Giscus

Giscus is based off Utterances, but uses GitHub Discussions as the backend. This requires you to allow have a public repository, and the Giscus app to use your repository. Setup instructions can be found at the Giscus home page.

To enable Giscus comment plugin, at first go to giscus.app. On the Configuration section, provide the necessary information. It will give you a script to include to your site. You just need to extract the respective information from the script and provide it under params.features section as below:

comment:
  enable: true
  services:
    giscus:
      repo: your-repo/name
      repoID: your-repo-id
      category: your-category
      categoryID: your-category-id
      theme: light
      map: url
      reaction: 1
      metadata: 0
      inputPosition: bottom
      crossOrigin: anonymous