add giscus
This commit is contained in:
parent
fcd3c95cc7
commit
2a93a860fa
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user