1.0.4 • Published 4 years ago

hexo-img-cdn v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

hexo-img-cdn

hexo-img-cdn is a hexo plugin which is used to have all images support cdn automatically.

Install

$ npm install hexo-img-cdn --save

Usage

First add configuration in _config.yml from your hexo project.

  cdn:
    enable: false
    onlypost: false
    url: https://cdn.com

onlypost

  • 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