diff --git a/README.md b/README.md index b999e0a..dad2d2d 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,9 @@ __`Hyde-hyde`__ essentially inherits most of Hyde's [options](https://github.com * `UtterancesIssueTerm = "pathname"` Method for Utterances to match issue's to posts (pathname, url, title, og:title) * `UtterancesTheme = "github-light"` Theme for Utterances (github-light, github-dark) +* `Commento = true`: to use [Commento](https://commento.io/) instead of the built-in [Disqus](https://disqus.com). This option should be used exclusively with `disqusShortname = "disqus-shortname"`. + * `CommentoHost = "your-commento-instance"` [Self-hosted Commento](https://docs.commento.io/installation/self-hosting/) instance. This is not required if you're a [Commento.io](https://commento.io) user. + * `[params.social]`: in this section, you can set many social identities such as Twitter, Facebook, Github, Bitbucket, Gitlab, Instagram, LinkedIn, StackOverflow, Medium, Xing, Keybase. ```toml diff --git a/layouts/partials/page-single/comment/commento.html b/layouts/partials/page-single/comment/commento.html new file mode 100644 index 0000000..d70baad --- /dev/null +++ b/layouts/partials/page-single/comment/commento.html @@ -0,0 +1,25 @@ +
+ + + diff --git a/layouts/partials/page-single/post-comment.html b/layouts/partials/page-single/post-comment.html index a9d2ab7..668a0e1 100644 --- a/layouts/partials/page-single/post-comment.html +++ b/layouts/partials/page-single/post-comment.html @@ -5,5 +5,7 @@ {{ partial "page-single/comment/graphcomment.html" . }} {{ else if .Site.Params.UtterancesRepo }} {{ partial "page-single/comment/utterances.html" . }} + {{ else if .Site.Params.Commento }} + {{ partial "page-single/comment/commento.html" . }} {{ end }} {{ end }}