Octicons jekyll tag
A liquid jekyll tag that injects Octicon svg into the page
This jekyll liquid tag, is a plugin that will let you easily include svg octicons in your jekyll sites.
Install
Add this to your
Gemfilegem 'jekyll-octicons'Add this to your jekyll
_config.ymlgems: - jekyll-octiconsUse this tag in your jekyll templates
{% octicon alert size:large class:"right left" aria-label:hi %}
The minimum CSS you'll need in your jekyll site is in the octicons repository. You can also npm install that package and include build/octicons.css in your styles.
Documentation
For a full list of options available, see the octicons_gem documentation
License
Font License: SIL OFL 1.1 © GitHub