0.0
No commit activity in last 3 years
No release in over 3 years
jekyll plugin to generate html snippets for embedding fa-icons
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

~> 4.0
 Project Readme

Jekyll Font Awesome Icons

This Jekyll pluging provides a tag that takes a Font Awesome code and puts the according <i> tag.

It has been implemented to ease my life in decorating http://storage-chaos.io/

Installation

Add this line to your Gemfile:

group :jekyll_plugins do
  gem "jekyll-fa-icons"
end

And then execute:

$ bundle

Alternatively install the gem yourself as:

$ gem install jekyll-fa-icons

and put this in your _config.yml

plugins: [jekyll-fa-icons]
 # This will require each of these gems automatically.

Usage

  • {% fai %} ; will display <i class="fab fa-github"></i>
  • {% fai k8s %} or any other shortcut from DEFAULT_ICONS ; will display <i class="fas fa-dharmachakra"</i> or the related icon
  • {% fai fab fa-500px %} or any other code from https://fontawesome.com/icons?d=gallery ; will display <i class="fab fa-500px"></i> or the refered code