Skip to content

Commit

Permalink
Implement Utterances as Commenting System (#30)
Browse files Browse the repository at this point in the history
Remove Disqus from site
  • Loading branch information
muya authored May 1, 2022
1 parent f4f07df commit 13b910a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ footer-links:
twitter: fred_muya
stackoverflow: users/2370679/muya # your stackoverflow profile, e.g. "users/50476/bart-kiers"

# Your disqus shortname, entering this will enable commenting on posts
disqus: muyagithubio

# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
# google_analytics: UA-55222196-1
Expand Down
8 changes: 8 additions & 0 deletions _includes/utterances.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script src="https://utteranc.es/client.js"
repo="muya/muya.github.io"
issue-term="og:title"
label="blog-comment"
theme="preferred-color-scheme"
crossorigin="anonymous"
async>
</script>
2 changes: 1 addition & 1 deletion _layouts/mentorship-series-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ <h2 id="conclusion">Conclusion</h2>
</div>


{% include disqus.html disqus_identifier=page.disqus_identifier %}
{% include utterances.html %}
</article>
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ <h1>{{ page.title }}</h1>
</div>


{% include disqus.html disqus_identifier=page.disqus_identifier %}
{% include utterances.html %}
</article>

0 comments on commit 13b910a

Please sign in to comment.