NexT Disqus Plugin
This is a example, please don't use it in produce env.
Use
# Duo to avoide occupied, I use myself scope.
# And anyone can push it to NexT npm?
yarn add @jiangtj/hexo-next-disqus-example
comments:
type: disqus_same
Others is as same as disqus.
Debug
- Exec those cmd.
yarn link
hexo init example
cd example
git clone --branch comments git@github.com:JiangTJ/hexo-theme-next.git themes/next
yarn add @jiangtj/hexo-next-disqus-example
yarn link "@jiangtj/hexo-next-disqus-example"
- Modify hexo
config.yml
theme: next
- Modify theme
config.yml
comments:
debug: true
type: disqus_same
disqus:
shortname: your-name