https://github.com/2nthony/saika-plugin-disqus
Using disqus in saika
https://github.com/2nthony/saika-plugin-disqus
disqus plugin saika
Last synced: 4 months ago
JSON representation
Using disqus in saika
- Host: GitHub
- URL: https://github.com/2nthony/saika-plugin-disqus
- Owner: 2nthony
- License: mit
- Created: 2020-09-18T03:12:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:39:17.000Z (almost 2 years ago)
- Last Synced: 2025-02-20T22:37:31.718Z (8 months ago)
- Topics: disqus, plugin, saika
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# saika-plugin-disqus
> Using Disqus in saika
Please consider starring the project to show your ❤️ and support.
[](https://npmjs.com/package/saika-plugin-disqus)
[](https://npmjs.com/package/saika-plugin-disqus)
[](https://circleci.com/gh/evillt/saika-plugin-disqus/tree/master)
[](./LICENSE)
[](https://donate.evila.me)## Showcase
You can see the showcase in [this page](https://saika-theme-portfolio-demo.saika.dev/#/posts/my-first-post).
## Prerequisite
- [Saika](https://saika.dev)
## Usage
Load this plugin via `` tag:
```html
<!-- Load this plugin after saika.js -->
<script src="https://cdn.jsdelivr.net/npm/saika-plugin-disqus">
```This plugin is exposed as `window.saikaDisqus`:
```js
new Saika({
plugins: [
saikaDisqus({
shortname: 'your shortname'
})
]
})
```## Options
### options.shortname
- Type: `string`
- Required: `true`Disqus shortname.
### options.enablePaths
- Type: `Array`
- Default: `['/posts']` which means is all link starts with `/posts` will enable disqusSpecify your post to enable disqus.
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**saika-plugin-disqus** © [evillt](https://github.com/evillt), Released under the [MIT](./LICENSE) License.
Authored and maintained by **EVILLT** with help from contributors ([list](https://github.com/evillt/saika-plugin-disqus/contributors)).
> [evila.me](https://evila.me) · GitHub [@evillt](https://github.com/evillt) · Twitter [@evillt](https://twitter.com/evillt)