A Font Awesome plugin for Hexo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
fontawesome.js
package.json

README.md

hexo-tag-fontawesome

A Font Awesome plugin for Hexo

Installation / Usage

Get the plugin via NPM:

npm install hexo-tag-fontawesome

Then, simply add this markup:

{% fa [icon-name] [options…] %}

Note that the second parameter is optional

Examples

Spinning Icons

The following code brings up a spinning icon:

{% fa refresh spin %}

Fixed Width Icons

The following code brings up a fixed width icon:

{% fa home fw %}

More examples at http://fontawesome.io/examples/