diff --git a/README.md b/README.md index 2ba25bde..30c6d5f2 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,20 @@ comments: If you *don't* have the section `[Params.staticman]` in `config.toml`, you *won't* need the section `reCaptcha` in `staticman.yml` +### Utterances support + +Add *Utterances* configuration section in `config.toml` or `config.yaml` + +Sample `config.toml` configuration + +``` +[Params.Utteranc] + repo = "user/repo" + issue_term = "pathname" + label = "comment" + theme = "github-light" +``` + ### Google Analytics To add Google Analytics, simply sign up to [Google Analytics](https://www.google.com/analytics/) to obtain your Google Tracking ID, and add this tracking ID to the `googleAnalytics` parameter in `config.toml`. diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0ab1bf58..d28c5e58 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -81,6 +81,16 @@

{{ i18n "seeAlso" }}

{{ partial "staticman-comments.html" . }} {{ end }} + {{ if .Site.Params.Utterances }} + + {{ end }} {{ end }}