saika-plugin-disqus
v1.0.0
Published
Using Disqus in saika
Downloads
13
Readme
saika-plugin-disqus
Using Disqus in saika
Please consider starring the project to show your ❤️ and support.
Usage
Load this plugin via <script>
tag:
<!-- Load this plugin after saika.js -->
<script src="https://cdn.jsdelivr.net/npm/saika-plugin-disqus"></script>
This plugin is exposed as window.saikaDisqus
:
new Saika({
plugins: [
saikaDisqus({
shortname: 'your shortname'
})
]
})
Options
options.shortname
- Type:
string
- Required:
true
Disqus shortname.
options.enablePaths
- Type:
Array<PathLike>
- Default:
['/posts']
which means is all link starts with/posts
will enable disqus
Specify your post to enable disqus.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
saika-plugin-disqus © evillt, Released under the MIT License.
Authored and maintained by EVILLT with help from contributors (list).