mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
* Support utterrances label * Update CONTRIBUTORS.md Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
13 lines
614 B
HTML
13 lines
614 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 }}"
|
|
{{ if isset .Site.Params.utterances "label" }}label="{{ .Site.Params.utterances.label }}"{{ end }}
|
|
theme="{{ default "github-light" .Site.Params.utterances.theme }}"
|
|
crossorigin="anonymous"
|
|
async>
|
|
</script>
|
|
{{- end -}}
|
|
{{- end -}}
|