跳转到正文

如何在 AstroPaper 中集成 Giscus 评论

更新于
编辑页面

集成 Giscus 评论系统

本文说明如何在 AstroPaper 中接入 Giscus:

  • 在 GitHub 仓库启用 Discussions。
  • 在 Giscus 配置页生成所需参数(repo、category、mapping 等)。
  • 将参数写入站点配置并启用评论开关。
  • 本地与线上分别验证评论加载与主题联动是否正常。

编辑页面

评论