No commit activity in last 3 years
No release in over 3 years
This webgen extension bundle provides the Font Awesome icon font and the needed Sass files for using them, either stand-alone or with the Twitter Bootstrap framework.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Font Awesome icon font for webgen

This is a webgen extension bundle that provides the Font Awesome icon font. This icon font can be used stand-alone or combined with the webgen Twitter Bootstrap bundle.

Usage

The bundle uses Sass for providing the necessary CSS files and for compatibility to webgen Twitter Bootstrap bundle, so be sure you have Sass installed.

  • If you want to use the font without the Twitter Bootstrap framework, just import the stylesheet in one of your Sass files:

    @import "/font-awesome";
    
  • If you want to use the font with the Twitter Bootstrap framework, ie. instead of the Glyphicons, you need to load this bundle after the Twitter Bootstrap bundle!

    Then just load the Bootstrap framework as usual with

    @import "/bootstrap/bootstrap";
    

    If you don't use this approach because you selectively load parts of the Bootstrap framework, make sure that you import /font-awesome instead of /bootstrap/sprites!

Installation

The easiest way to install this extension bundle is by installing the corresponding Rubygem:

gem install webgen-font_awesome-bundle

If you don't use Rubygems, copy the folder lib/webgen/bundle/font_awesome into your ext directory.

After that you just need to tell webgen to use this extension bundle by adding the following line to your ext/init.rb file:

load("font_awesome")

Don't forget to add this line after the line for the Twitter Bootstrap bundle so that everything works out of the box!

Copyright and license

Copyright (c) 2013 Thomas Leitner under the MIT License (see LICENSE)


The used files from the Font-Awesome repository are licensed under the CC-BY 3.0 license (see https://github.com/FortAwesome/Font-Awesome#license).