https://github.com/bolt/disqus
[Bolt Extension] An extension to place Disqus comment threads on your site, when using `{{ disqus() }}` in your templates.
https://github.com/bolt/disqus
bolt-extension disqus disqus-comment-threads
Last synced: about 2 months ago
JSON representation
[Bolt Extension] An extension to place Disqus comment threads on your site, when using `{{ disqus() }}` in your templates.
- Host: GitHub
- URL: https://github.com/bolt/disqus
- Owner: bolt
- License: mit
- Created: 2014-08-13T13:58:31.000Z (almost 11 years ago)
- Default Branch: 2.x
- Last Pushed: 2018-06-03T09:13:09.000Z (about 7 years ago)
- Last Synced: 2025-03-30T19:22:20.215Z (3 months ago)
- Topics: bolt-extension, disqus, disqus-comment-threads
- Language: PHP
- Homepage:
- Size: 74.2 KB
- Stars: 9
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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`
You can set this name in the `disqus.bolt.yml` configuration file, found in
`app/config/extensions/`.```yaml
# 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:```html
{{ 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.```html
Comment
```This is assuming `record` is the record. If not, replace it with the appropriate
variable name of the Record.