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
|
||||
# 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]
|
||||
repo = "mivinci/minima-comments"
|
||||
repo = "mivinci/hugo-theme-minima"
|
||||
issueTerm = "pathname"
|
||||
|
||||
# **deprecated**
|
||||
# OvO is a comment plugin written by the author of Minima.
|
||||
# It is enabled when params.comment is set "ovo". You can
|
||||
# find its documentation on https://github.com/ovojs/ovo.
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
script.setAttribute('repo', repo)
|
||||
script.setAttribute('issue-term', issueTerm)
|
||||
script.setAttribute('theme', theme)
|
||||
script.setAttribute('label', 'comment')
|
||||
|
||||
document.querySelector('main').appendChild(script)
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue