Skip to content

allcaps/wagtail-font-awesome-svg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
        ...
    ]

About

Add Font Awesome SVG icons to your Wagtail project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%