Skip to content

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

License

Notifications You must be signed in to change notification settings

patrick330602/hexo-tag-dynamic-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published