{{disqus}} Handlebars helper. Simplifies adding Disqus comments to your site.


Handlebars helper for adding Disqus comments to your blog or web project.

First, create a site profile with Disqus.

Install with npm

npm i handlebars-helper-disqus

If you use Assemble, make sure you register the helper so Assemble knows where to find it:

options: {
  helpers: ['handlebars-helper-disqus']

Add the following template to

{{disqus "my-shortname"}}

Next, add the following tag wherever you want the comments to display.

<!-- Disqus Comments -->
<div id="disqus_thread"></div>

Jon Schlinkert

  • [github/Jon Schlinkert](http://github.com/Jon Schlinkert)
  • [twitter/Jon Schlinkert](http://twitter.com/Jon Schlinkert)

Licensed under the MIT License Copyright (c) 2014 Jon Schlinkert, contributors.