Skip to content

Nefonfo/wagtailiconify

Repository files navigation

WAGTAIL ICONIFY

Library developed for Wagtail CMS, its purpose is to provide icon blocks from various libraries

PyPI - License PyPI PyPI - Python Version PyPI - Django Version Status Code style: black



Wagtail

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

  1. Install Via Pip
        pip install wagtailiconify
  2. Add to INSTALLED_APPS in settings/base.py
    INSTALLED_APPS = [
        ... ,
        'wagtailiconify',
        ...

USE EXAMPLE

FOR FONTAWESOME:

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

  • 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?

About

A plugin for Wagtail CMS, to have Icon Blocks (Fontawesome support)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages