A MiniValine plugin for Hexo NexT theme. 中文
Get more information about MiniValine
npm install hexo-next-minivaline@latest --save
- In Hexo
_config.yml
, Not theme_config.yml
minivaline:
enable: true
mversion: latest
appId: zhM0AOiqle17oPoE84CoYw1e-gzGzoHsz # Your leancloud application appid
appKey: itmzT1JbXfAjVwMqDhGPzU45 # Your leancloud application appkey
mode: DesertsP # DesertsP or xCss demo -> https://minivaline.js.org/demo.html
# Pay attention array, eg following, use yaml style NOT json in hexo-next-minivaline
emoticonUrl:
- https://cdn.jsdelivr.net/npm/alus@latest
- https://cdn.jsdelivr.net/gh/MiniValine/qq@latest
- https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest
- https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest
- https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest
- https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest
# Detail -> https://minivaline.js.org/docs/en/#/Options?id=emoticonurl-string-array
lazyload: false
cdn: https://cdn.jsdelivr.net/npm/minivaline@latest/dist/MiniValine.min.js
# more support option -> https://github.com/MiniValine/hexo-next-minivaline#options
Config options | Support | Default | option | Detail |
---|---|---|---|---|
enable | Yes | null | true or false |
Tell hexo enable minivaline |
cdn | Yes | null | Leave blank or Your minivaline cdn address |
cdn CDN of the required files. Leave it blank if you want to directly load from server side. |
mversion | Yes | latest |
Leave blank ornum version eg4.3.0 ,detail |
If you use option cdn this will be blocked.More question in FAQ following. |
mount option | NO | - | - | Which has been installed before. Don't Add This. |
Base Options | Yes | same with minivaline | same with minivaline | Support |
Style Options | Yes | same with minivaline | same with minivaline | Support |
- set
enable: true
- Note whether the option name case is uppercase or lowercase.
- Especially
appId
andappKey
, Notappid
andappkey
- Especially
- Add it in hexo
_config.yml
, but not Next theme_config.yml
- Some config option may be wrong.
- Try use the Latest hexo-next-minivaline and Latest hexo-theme-next please.
-
Clear brower cache,and try again
-
If you use option
cdn
, thismversion
will be blocked. -
May be the
mversion
is wrong -
Is there something wrong with option?detail
-
May be something wrong with minivaline, feedback minivaline.
- Report a bug in GitHub Issues.
- Request a new feature on GitHub.
- Vote for popular feature requests.
- Join our Gitter chats.
- Visit the AWESOME MiniValine list to share plugins and tutorials with other users.
- Add or improve translation in few seconds.