关于 utterances

utterances 是一款基于 GitHub issues 的评论工具。

安装 utterances

  • 首先要安装utterances,访问 utterances应用程序地址,然后点击install按钮安装。
  • 安装过程中选择关联的存储库,默认是选择所有库,这里建议选择单个库。

Hugo 配置

config.toml文件中进行配置:

1
2
3
4
5
[params.utteranc]
enable = true
repo = "github-username/github-repository" ##换成自己得
issueTerm = "pathname"
theme = "github-light"