使用npm安装插件
1
npm install hexo-generator-feed
在配置文件中引用插件
1
2
3在hexo/_config.yml添加
plugins:
-hexo-generator-feed
添加Sitemap
使用npm安装插件
1
npm install hexo-generator-sitmap
在配置文件中引用插件
1
2
3在hexo/_config.yml中添加
plugins:
- hexo-generator-sitemap
添加Hexo-url-image
使用npm安装插件
配置
1
2
3
4
5在_config.yml中设置image_server_url字段
...
#URL
image_server_url: http://some.bkt.couddn.com/
...
添加代码高亮插件
使用npm安装
1
nmp install hexo-tag-vimhighlight --save
配置
1
2
3在hexo/_config.yml中添加
plugins:
- hexo-tag-vimhighlight使用
1
2
3{% vimhl python true %} //true --> show line number
...
{% endvimhl %}