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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i hexo-tag-dynamic-images

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.54 kB

Total Files

4

Last publish

Collaborators

  • callmepk