mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
20 lines
671 B
HTML
20 lines
671 B
HTML
{{- $scriptSrc := "https://utteranc.es/client.js" -}}
|
|
|
|
{{- $issueTerm := .Page.Site.Params.comments.utterances.issueTerm -}}
|
|
{{- $label := .Page.Site.Params.comments.utterances.label -}}
|
|
{{- $theme := .Page.Site.Params.comments.utterances.theme -}}
|
|
{{- $username := .Page.Site.Params.comments.utterances.github.username -}}
|
|
{{- $repository := .Page.Site.Params.comments.utterances.github.repository -}}
|
|
|
|
<script src='{{ $scriptSrc }}'
|
|
repo='{{ print $username "/" $repository }}'
|
|
issue-term='{{ $issueTerm }}'
|
|
{{ if $label -}}
|
|
label='{{ $label }}'
|
|
{{- end }}
|
|
{{ if $theme -}}
|
|
theme='{{ $theme }}'
|
|
{{- end }}
|
|
crossorigin='anonymous' async>
|
|
</script>
|