Skip to content
/ Disqus Public

[Bolt Extension] An extension to place Disqus comment threads on your site, when using `{{ disqus() }}` in your templates.

License

Notifications You must be signed in to change notification settings

bolt/Disqus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disqus

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

disqus

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.

About

[Bolt Extension] An extension to place Disqus comment threads on your site, when using `{{ disqus() }}` in your templates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages