Hexo Imgur gallery tag
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.md
index.js
package.json

README.md

Hexo Imgur gallery tag

Hexo tag plugin for adding Imgur galleries to your posts using the old and better embedding system.

Installing

npm install hexo-tag-imgurgal --save

Usage

{% imgurgal [galleryId]%}

Example:

{% imgurgal ryMBU %}

Will output:

<iframe class='imgur-album' style='width: 100%, min-height: 90vh' src='//imgur.com/a/ryMBU/embed'></iframe><a href='https://imgur.com/a/ryMBU'>View gallery on Imgur</a>