diff options
Diffstat (limited to 'layouts/partials/comment.html')
-rw-r--r-- | layouts/partials/comment.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html index 4d19c87..35b6360 100644 --- a/layouts/partials/comment.html +++ b/layouts/partials/comment.html @@ -46,4 +46,15 @@ twikoo.init({ serverURL: {{.Site.Params.walineServer}} , }); </script> +{{ end }} + +{{ if .Site.Params.enableUtterances }} +<script src="https://utteranc.es/client.js" + repo="{{ .Site.Params.utterances.repo }}" + issue-term="{{ .Site.Params.utterances.term }}" + label="{{ .Site.Params.utterances.label }}" + theme="{{ .Site.Params.utterances.theme }}" + crossorigin="anonymous" + async> +</script> {{ end }}
\ No newline at end of file |