handlebars-helper-disqus

0.2.0 • Public • Published

{{disqus}} NPM version

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

First, create a site profile with Disqus.

Installation

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']
}

Usage

1. footer script

Add the following template to

{{disqus "my-shortname"}}

2. comments

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

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

Author

Jon Schlinkert

License and Copyright

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    3
  • 0.1.1
    2
  • 0.1.0
    2

Package Sidebar

Install

npm i handlebars-helper-disqus

Weekly Downloads

3

Version

0.2.0

License

none

Last publish

Collaborators

  • doowb
  • jonschlinkert