Switch comments from utterances to giscus

to use GitHub discussions instead of issues for comment threads.
This commit is contained in:
Philipp Oppermann
2021-06-12 16:12:38 +02:00
parent 762beaa59e
commit a46c20ef93
7 changed files with 41 additions and 10 deletions

View File

@@ -4,6 +4,8 @@
{% import "snippets.html" as snippets %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block head %}<meta property="og:title" content="{{ page.title }}" />{% endblock head %}
{% block header %}
{% if lang != "en" -%}
<aside id="all-posts-link"><a href="{{ config.base_url | safe }}/{{ lang }}" title="All Posts">{{ trans(key="all_posts", lang=lang) }}</a></aside>
@@ -102,7 +104,7 @@
</p>
{% endif %}
{{ snippets::utterances() }}
{{ snippets::giscus() }}
</section>
<aside class="page-aside-right">