Font Awesome icons as SVG for Wagtail
Project description
Wagtail Font Awesome SVG
Add Font Awesome SVG icons to your Wagtail project.
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 import hooks
@hooks.register("register_icons")
def register_icons(icons):
return icons + [
'wagtailfontawesomesvg/brands/facebook.svg',
'wagtailfontawesomesvg/regular/face-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
Built Distribution
File details
Details for the file wagtail-font-awesome-svg-1.0.1.tar.gz
.
File metadata
- Download URL: wagtail-font-awesome-svg-1.0.1.tar.gz
- Upload date:
- Size: 608.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108f831dd4529e6214b5aed04bf6deb4b8344460783fbdbef5dc7a4d7fa8374c |
|
MD5 | 6fc0df0188809ffe4d336753bdd95da9 |
|
BLAKE2b-256 | 78a6582be59396696ec48bc8856969ea76af45c2a6967dea8a3d648b7eabc4ad |
Provenance
File details
Details for the file wagtail_font_awesome_svg-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: wagtail_font_awesome_svg-1.0.1-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6945eaa422a54be5ceb365fd28925d09be77b93b4764e9a08c35a170f687903 |
|
MD5 | 1682ee49d2273e0eead27a1b7f236ab3 |
|
BLAKE2b-256 | 4ffc0f78b80ad1682b426459e4c53caced7816ba906bb7ed3fb00c5071202f68 |