diff --git a/_includes/comments-providers/utterances.html b/_includes/comments-providers/utterances.html index b1c08f3cd8eb..129ab7791da9 100644 --- a/_includes/comments-providers/utterances.html +++ b/_includes/comments-providers/utterances.html @@ -11,10 +11,10 @@ var script = document.createElement('script'); script.setAttribute('src', 'https://utteranc.es/client.js'); script.setAttribute('repo', '{{ site.repository }}'); - script.setAttribute('issue-term', 'pathname'); + script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}'); script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}'); script.setAttribute('crossorigin', 'anonymous'); commentContainer.appendChild(script); })(); - \ No newline at end of file +