Add Comments to Your Jekyll Blog
Jekyll and GitHub Pages are a popular combo — and DropComments fits right in. No plugins, no Disqus ads, just clean comments with two lines of HTML.
How to add comments to Jekyll
Step 1: Create a free DropComments account
Sign up at dropcomments.net and register your site's domain. You'll get a unique Site ID.
Step 2: Add the embed snippet to your post layout
Open _layouts/post.html (or _layouts/default.html if you don't have a post layout). Add the snippet below the post content:
_layouts/post.html
<!-- Jekyll renders content above -->
{{ content }}
<!-- DropComments widget -->
<div id="dropcomments"></div>
<script src="https://dropcomments.net/embed.js"
data-site-id="your-site-uuid"></script>
{{ content }}
<!-- DropComments widget -->
<div id="dropcomments"></div>
<script src="https://dropcomments.net/embed.js"
data-site-id="your-site-uuid"></script>
Step 3: Commit and push
Push to GitHub. Jekyll (and GitHub Pages) will rebuild. Comments appear on all posts automatically.
Works with GitHub Pages
DropComments is a hosted service — there's nothing to install or build. It works perfectly with GitHub Pages without any extra configuration.
Why Jekyll users choose DropComments
- Works with GitHub Pages — no extra server required
- No ads or tracking — unlike Disqus free plan
- Spam protection without CAPTCHA
- Free — forever, no trial period