1.0.0 • Published 2 years ago

hexo-tag-dynamic-images v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

1.0.0

2 years ago