config for utterance
This commit is contained in:
parent
74d14b51a1
commit
3ecdf057af
2 changed files with 5 additions and 1 deletions
|
@ -45,10 +45,13 @@ shortname = "hugo-minima"
|
||||||
|
|
||||||
# Utterance configuration
|
# Utterance configuration
|
||||||
# Full doc's at https://utteranc.es
|
# Full doc's at https://utteranc.es
|
||||||
|
# **notice**: if you're going to use utterances, you must change the
|
||||||
|
# `repo` to your own repo address that stores comments on your site
|
||||||
[params.utterances]
|
[params.utterances]
|
||||||
repo = "mivinci/minima-comments"
|
repo = "mivinci/hugo-theme-minima"
|
||||||
issueTerm = "pathname"
|
issueTerm = "pathname"
|
||||||
|
|
||||||
|
# **deprecated**
|
||||||
# OvO is a comment plugin written by the author of Minima.
|
# OvO is a comment plugin written by the author of Minima.
|
||||||
# It is enabled when params.comment is set "ovo". You can
|
# It is enabled when params.comment is set "ovo". You can
|
||||||
# find its documentation on https://github.com/ovojs/ovo.
|
# find its documentation on https://github.com/ovojs/ovo.
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
script.setAttribute('repo', repo)
|
script.setAttribute('repo', repo)
|
||||||
script.setAttribute('issue-term', issueTerm)
|
script.setAttribute('issue-term', issueTerm)
|
||||||
script.setAttribute('theme', theme)
|
script.setAttribute('theme', theme)
|
||||||
|
script.setAttribute('label', 'comment')
|
||||||
|
|
||||||
document.querySelector('main').appendChild(script)
|
document.querySelector('main').appendChild(script)
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue