Pelican plugin to minify fontawesome assets to include used icons.
git clone https://github.com/m-col/pelican-minify-fontawesome
Files | Refs | Readme

Commit 0c43efc7263d5227b78b965c8c2f3af9cccad8f2
Parent: d36ea32e4b41e6fea2c04190b2a927de7826fe6e
Author: mcol <mcol@posteo.net>
Date: 2019-10-20 21:06:36 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2019-10-20 21:06:36 +0100

remove light icons; update readme

readme.rst Modified

@@ -32,4 +32,16 @@
 
     <link rel="stylesheet" href="{{ SITEURL }}/theme/css/fa.css"/>
 
-This has only been tested with fontawesome-free-5.11.2-web so far.
+RST roles
+---------
+
+This plugin also adds 3 small RST roles that can be used to include font
+awesome icons in RST drafts:
+
+.. code-block:: RST
+
+   Here is a solid icon :fas:`blender-phone`
+   Here is a regular icon :far:`meh-rolling-eyes`
+   Here is a brand icon :fab:`github`
+
+This plugin has only been tested with fontawesome-free-5.11.2-web so far.

minify_fontawesome.py Modified

@@ -152,5 +152,4 @@
     # Register font awesome RST roles
     roles.register_local_role('fas', rst_span)
     roles.register_local_role('far', rst_span)
-    roles.register_local_role('fal', rst_span)
     roles.register_local_role('fab', rst_span)