plugins
- deploy
1 | cnpm install hexo-deployer-git --save |
- image
1 | cnpm install https://github.com/CodeFalling/hexo-asset-image --save |
1 | var link = data.permalink; |
2 | var beginPos = getPosition(link, '/', 3) + 1; // 可能需要修改这里 |
3 | var appendLink = ''; |
4 | if(/.*\/index\.html$/.test(link)) { |
5 | appendLink = 'index/'; |
6 | var endPos = link.lastIndexOf('/'); |
7 | } |
8 | else { |
9 | var endPos = link.length-1; |
10 | } |
- mathjax
1 | cnpm install hexo-math --save |
2 | npm uninstall hexo-renderer-marked --save |
3 | npm install hexo-renderer-kramed --save |
然后删改👇