Is it possible to integrate disqus html comments in a blog using github-pages? I like the idea of using github, jekyll and markdown to manage my site and blog for simplicity. However, I'd like to include disqus commenting capability. However, since markdown generates the html - how do I include the html/js code for disqus ?
Disqus is a networked community platform used by hundreds of thousands of sites all over the web. With Disqus, your website gains a feature-rich comment system complete with social network integration, advanced administration and moderation options, and other extensive community functions.
GitHub Pages supports two Markdown processors: kramdown and GitHub's own Markdown processor, which is used to render GitHub Flavored Markdown (GFM) throughout GitHub.
The Disqus BlogDisqus offers the best add-on tools for site owners to power discussions, increase engagement, and earn revenue. We were unable to load Disqus Recommendations.
Disqus (/dɪsˈkʌs/) is an American blog comment hosting service for web sites and online communities that use a networked platform.
The easiest and cleanest way to do it is to create a partial with the HTML that disqus provides in your _includes/
folder (e.g. _includes/disqus.html
) and then just including it in your posts layout file (e.g. _layouts/post.md
):
{% include disqus.html %}
You can see an example here: post layout and disqus partial.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With