Skip to content

Commit

Permalink
Add utterances support
Browse files Browse the repository at this point in the history
  • Loading branch information
opeik committed Jan 31, 2022
1 parent 5c04da2 commit a9168e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
@@ -79,6 +79,18 @@ <h1>{{ page.title }}</h1>
{{ page_contents | safe }}
</div>
{% endblock page_contents %}

{% if config.extra.utterances.enabled %}
<div class="comments">
<script src="https://utteranc.es/client.js"
repo="{{ config.extra.utterances.repo }}"
issue-term="{{ config.extra.utterances.post_map }}"
label="{{ config.extra.utterances.label }}"
theme="{{ config.extra.utterances.theme }}"
crossorigin="anonymous"
async></script>
</div>
{% endif %}
</article>

{% endblock content %}

0 comments on commit a9168e0

Please sign in to comment.