diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 02686c3..1d8c76d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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. diff --git a/layouts/partials/utterances.html b/layouts/partials/utterances.html index fbbebb8..d1093e2 100644 --- a/layouts/partials/utterances.html +++ b/layouts/partials/utterances.html @@ -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)