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",
]
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-0.1.0.tar.gz
(1.1 MB
view hashes)
Built Distribution
Close
Hashes for wagtail_fa_svg-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a08d8fb4eab084d90aafb817ed4ce16e4f2031de158192db22e4a20ea9df2a87 |
|
MD5 | 7638941316507db4d2123104f2470667 |
|
BLAKE2b-256 | c057e941811e3be4e4ccf05a5038959301734cf910eeeea7fdb9bcb7ec5c4f5a |