mirror of https://github.com/IoTcat/kayo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
601 B
15 lines
601 B
4 years ago
|
{%- if theme.utterances.enable -%}
|
||
|
<script>
|
||
|
var container = document.getElementById('utterances-container')
|
||
|
var script = document.createElement('script')
|
||
|
script.src = 'https://utteranc.es/client.js'
|
||
|
script.setAttribute('repo', '{{ theme.utterances.repo }}')
|
||
|
script.setAttribute('issue-term', '{{ theme.utterances.issueTerm }}')
|
||
|
script.setAttribute('theme', '{{ theme.utterances.theme }}')
|
||
|
script.setAttribute('label', '{{ theme.utterances.label }}')
|
||
|
script.crossorigin = 'anonymous'
|
||
|
script.async = true
|
||
|
|
||
|
container.appendChild(script)
|
||
|
</script>
|
||
|
{%- endif -%}
|