hexo-tag-dynamic-images

1.0.0 • Public • Published

hexo-tag-dynamic-images

A Hexo tag plugin to insert two images that can switch according to system theme.

Usage

Install by npm install hexo-tag-dynamic-images --save.

You can use the tag as {% dynimg [light images] [dark images] <alt> <class> %}, Where alt (Alternative text) and class (class assigned to the <picture> tag, by default dynamic-img) are optional.

License

MIT License.

Readme

Keywords

Package Sidebar

Install

npm i hexo-tag-dynamic-images

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.54 kB

Total Files

4

Last publish

Collaborators

  • callmepk