add giscus

This commit is contained in:
Trent Palmer 2021-10-07 17:02:24 -07:00
parent fcd3c95cc7
commit 2a93a860fa

View File

@ -52,3 +52,20 @@
{% include "home.html" %}
{% endif %}
{% endblock %}
{% block disqus %}
{{ super() }}
{% if page and page.meta and page.meta.post %}
<script src="https://giscus.app/client.js"
data-repo="TrentSPalmer/trentsblog_comments"
data-repo-id="R_kgDOGLitLQ"
data-category="Announcements"
data-category-id="DIC_kwDOGLitLc4B_VyZ"
data-mapping="og:title"
data-reactions-enabled="1"
data-emit-metadata="0"
data-theme="light"
crossorigin="anonymous"
async>
</script>
{% endif %}
{% endblock %}