Add comments section

This commit is contained in:
cool-mist 2023-04-18 14:27:33 +05:30
parent aeadc71e96
commit b9268713e4
3 changed files with 22 additions and 1 deletions

View File

@ -26,4 +26,25 @@ layout: default
<div class="entry">
{{ content }}
</div>
<hr/>
{% if page.discussion %}
<div class="entry">
You can also send out an email with your comments @ neophytenuggets@protonmail.me
</div>
<hr/>
<script src="https://giscus.app/client.js"
data-repo="cool-mist/bbb"
data-repo-id="MDEwOlJlcG9zaXRvcnkzMTkzNTk1MTI="
data-mapping="number"
data-term="{{page.discussion}}"
data-reactions-enabled="0"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="light_tritanopia"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
{% endif %}
</article>

View File

@ -1,6 +1,7 @@
---
layout: post
title: The No Hello Nonsense!
discussion: 4
categories: ["ideas", "rant"]
---

View File

@ -47,4 +47,3 @@ layout: default
{% endif %}
</div>