Skip to content

Commit

Permalink
Merge pull request #212 from sujaykundu777/sk/april2023
Browse files Browse the repository at this point in the history
use giscus for comment system
  • Loading branch information
sujaykundu777 authored Oct 7, 2024
2 parents cbd6512 + 1157d2e commit 3f366bb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ _site/

.bundle
.bundle/
vendor/
vendor/

.DS_Store
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ instagram_username: xplor4r
#for comments ( we got Disqus and Hyvor Commenting, uncomment the one you want to use )

# disqus_shortname: sujay-kundu
hyvor_talk_website_id: 476
# hyvor_talk_website_id: 476

# wakatime username (coding activity)
wakatime_username: sujaykundu777
Expand Down
21 changes: 19 additions & 2 deletions _includes/blog_post_article.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ <h4 class="post-meta">{{ page.summary }}</h4>
{% include author.html %}
{% endif %}
</div>

<div class="comments">
<script src="https://giscus.app/client.js"
data-repo="sujaykundu777/devlopr-jekyll"
data-repo-id="MDEwOlJlcG9zaXRvcnkxMzk1NzQ1NTY="
data-category="General"
data-category-id="MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMyODk4MTky"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="preferred_color_scheme"
data-lang="en"
crossorigin="anonymous"
async>
</script>
</div>

{%- if site.hyvor_talk_website_id -%}
<div class="comments">
{%- include hyvor_comments.html -%}
Expand All @@ -51,6 +70,4 @@ <h4 class="post-meta">{{ page.summary }}</h4>
<!-- Incomment incase you want to use Disqus
<div id="disqus_thread"></div>
-->


</article>

0 comments on commit 3f366bb

Please sign in to comment.