hexo-generator-cdn
v1.0.0
Published
为hexo中的css,js,图片等更换成cdn地址
Downloads
5
Readme
hexo-generator-cdn
hexo-generator-cdn is a hexo plugin which is used to have all images support cdn automatically.
Install
$ npm install hexo-generator-cdn --saveUsage
First add configuration in _config.yml from your hexo project.
cdn:
enable: false
onlypost: false
url: https://cdn.com
img_url: https://cdn.comonlypost
- If true, only the images from post or page will support cdn.
- If false, the whole images of your site will use cdn.
Enjoy it!
License
MIT
