diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/comments.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index af5e0c7..48ff8c9 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -123,4 +123,16 @@ </script> {{- end }} + <!-- utterances --> + {{- if .Site.Params.utterances.owner}} + <script src="https://utteranc.es/client.js" + repo="{{ .Site.Params.utterances.owner }}/{{ .Site.Params.utterances.repo }}" + issue-term="pathname" + theme="github-light" + crossorigin="anonymous" + async> + </script> + <noscript>Please enable JavaScript to view the <a href="https://github.com/utterance">comments powered by utterances.</a></noscript> + {{- end }} + {{- end }} |