The "Disqus" extension inserts a Disqus comment thread in your templates. Before
use, you'll need to configure it by setting up a disqus account. Once you've
'created' a site in your Disqus account, you'll be able to see how to integrate
in into a website. From there, you can see the your unique Disqus sitename. In
the screenshot below, it's your-sitename
You can set this name in the disqus.bolt.yml
configuration file, found in
app/config/extensions/
.
# Your Disqus shortname
disqus_name: your-sitename
Use it by simply placing the following in the template of a detail page, where you want the Disqus comments to show up:
{{ disqus() }}
In your overview and listing pages, you can include a link to the comments, where the 'Comment' text will be replaced with the actual amount of comments.
<a href="{{ disquslink(record.link) }}">Comment</a>
This is assuming record
is the record. If not, replace it with the appropriate
variable name of the Record.