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