Font Awesome SVG icons for Wagtail
Project description
Wagtail FA SVG
Font Awesome SVG icons for Wagtail.
Installation
To install, run the following command:
poetry add wagtail-fa-svg
[!TIP] Make sure you're using the latest version to access the latest Font Awesome icons.
Usage
Add wagtail_fa_svg
to your installed apps:
INSTALLED_APPS = [
"wagtail_fa_svg",
]
Create a hook in your wagtail_hooks.py
file to register icons:
from wagtail import hooks
@hooks.register("register_icons")
def register_icons(icons):
return icons + [
"wagtail-fa-svg/v6/brands/github.svg",
"wagtail-fa-svg/v6/regular/pilcrow.svg",
"wagtail-fa-svg/v5/solid/columns.svg",
]
[!NOTE] Both Font Awesome 5 and 6 icons are supported.
License
This project is licensed under the MIT License - see the LICENSE file for details.
The Font Awesome icons and related files are licensed under the Font Awesome Free License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wagtail_fa_svg-1.1.0.tar.gz
(1.1 MB
view hashes)
Built Distribution
Close
Hashes for wagtail_fa_svg-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8803f63d76ff80479092803e51a291f4ad42f7840b990d9c0c299e1235f63102 |
|
MD5 | 847bbd2708269373ee4363f4be49f78d |
|
BLAKE2b-256 | f110d73b86c1559e196b409bbe6325d2d783da9b8e8f8d398c96d4c9e7377457 |