— < 1 min read

Pelican FontAwesome allows you to embed FontAwesome icons in your RST posts and pages.


To install pelican-fontawesome, simply install it from PyPI:

$ pip install pelican-fontawesome

Then enable it in your pelicanconf.py

    # ...
    # ...

Include the FontAwesome CSS in your base template.

<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">


In your article or page, you simply need to add a reference to FontAwesome and then the icon name.


Which will result in:

<span class="fa fa-github"></span>

And the user will see:

You can also increase the size, just like the FontAwesome documentation shows.

:fa:`fa-github fa-4x`

Will result in:


MIT license.