A plugin for Wagtail CMS, icon blocks (fontawesome)
Project description
WAGTAIL ICONIFY
Library developed for Wagtail CMS, its purpose is to provide icon blocks from various libraries
Special thanks to Alex Gleason, as well as for his wagtail-fontawesome library (V4.7), which helped me many times, as well as to support me in part of his code for the configuration of some things
ACTUAL SUPPORTED ICONS
- FontAwesome V5.15.4
INSTALATION
- // TODO: CREATE PIP PACKAGE MODULE
- Add to INSTALLED_APPS in settings/base.py
INSTALLED_APPS = [ ... , 'wagtailiconify', ...
USE EXAMPLE
from wagtail.core.models import Page
from wagtail.core.fields import StreamField
from wagtail.admin.edit_handlers import StreamFieldPanel
from wagtailiconify.blocks import FontAwesomeBlock
class HomePage(Page):
body = StreamField([
('icon', FontAwesomeBlock())
], null = True, blank = False)
content_panels = Page.content_panels + [
StreamFieldPanel('body')
]
CONTRIBUTIONS
All support for the library is well accepted, in fact I would appreciate it very much since I am the only one who is giving support
Any questions, comments or suggestions can be made known to me with an "Issue" notification or make a contribution with a pull request.
Any closer attention can write to me at: victorarmenta30@gmail.com
TODO WORK
- Pip package installation (READY)
- Remove js empty generated by npm run build
- Admin icons support (Fontawesome have troubleshoots with Wagtail svg icons )
- Support for FeatherIcons
- More docs for developers
- A niceeeee logo for this little library... Why not?
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
wagtailiconify-0.0.1.tar.gz
(1.4 MB
view hashes)
Built Distribution
Close
Hashes for wagtailiconify-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d15ee38715fd79c0866644c72efd3e3382e912cc1bf85bf3ddd48a774eceff2c |
|
MD5 | 46a0f884feda3b232360280546767de1 |
|
BLAKE2b-256 | 0f7bc17a86b6531333dee4b66750c3b9db0dca4b25ca33fd088adf0e13d3ec0a |