Font Awesome icons as SVG for Wagtail
Project description
Wagtail Font Awesome SVG
Add Font Awesome 5.14 SVG icons to your Wagtail project.
Note: Wagtail does not officially support SVG icons yet, but is working towards it. See Wagtail issue #6107 for progress.
Install
pip install wagtail-font-awesome-svg
Add wagtailfontawesomesvg
to your installed apps.
INSTALLED_APPS = [
'wagtailfontawesomesvg',
]
Usage
This is an overview of available icons.
Choose an icon and add it via your wagtail_hooks.py
:
from wagtail.core import hooks
@hooks.register("register_icons")
def register_icons(icons):
return icons + [
'wagtailfontawesomesvg/brands/facebook.svg',
'wagtailfontawesomesvg/regular/laugh.svg',
'wagtailfontawesomesvg/solid/yin-yang.svg',
...
]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wagtail-font-awesome-svg-0.0.2.tar.gz
(522.7 kB
view hashes)
Built Distribution
Close
Hashes for wagtail-font-awesome-svg-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b329c1c8ef78f118a57197fcbfe5cde78d58bcee27571a6d26584cd07553455 |
|
MD5 | c6a9edddadd25561f59a901fed8ee8c1 |
|
BLAKE2b-256 | 92c94f6d034ad4ab3c84f2d7377e735984fd2b0935d0402f67e2234ee9c01fd4 |
Close
Hashes for wagtail_font_awesome_svg-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf57cc9be4d2f929f8b5af0b4e03a5ba1ae75d56984208afae2b345e5091988a |
|
MD5 | e70f12911ed4cc7132f768051d5d2d17 |
|
BLAKE2b-256 | 733ccb294ae7cd34bd7b9caaed5425ba776ec9452b04ebf1f1248ec2e0f555ed |