Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

hexo-img-cdn

1.0.4 • Public • Published

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

Install

npm i hexo-img-cdn

DownloadsWeekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

6.47 kB

Total Files

9

Last publish

Collaborators

  • avatar