12 lines
511 B
HTML
12 lines
511 B
HTML
|
{{- if isset .Site.Params "utterances" -}}
|
||
|
{{- if and (isset .Site.Params.utterances "repo") (not (eq .Site.Params.utterances.repo "" )) (eq (.Params.disable_comments | default false) false) -}}
|
||
|
<script src="https://utteranc.es/client.js"
|
||
|
repo= "{{ .Site.Params.utterances.repo }}"
|
||
|
issue-term="{{ default "title" .Site.Params.utterances.issueTerm }}"
|
||
|
theme="{{ default "github-light" .Site.Params.utterances.theme }}"
|
||
|
crossorigin="anonymous"
|
||
|
async>
|
||
|
</script>
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|