Giscus配置

了解如何配置 Solitude 主题的 Giscus 评论。

配置Giscus

参考 Giscus文档 去配置你的服务端并填写对应配置。

主题配置

配置对应所需配置即可

_config.solitude.yml
# 大约在789和845行
# --------------------------- start ---------------------------
# Comment
# 评论
comment:
  # Which commenting system to use(e.g. waline or waline,twikoo)
  # 使用哪个评论系统(例如: waline or waline,twikoo)
  use: giscus # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
  # Whether to display the hot comment switch.

···

giscus:
  repo: # GitHub repository name
  repo_id: # GitHub repository ID
  category_id: # GitHub repository category ID
  theme:
    light: light
    dark: dark
  option: