Skip to content

Latest commit

 

History

History
51 lines (27 loc) · 1.07 KB

README.md

File metadata and controls

51 lines (27 loc) · 1.07 KB

Wagtail Verses Block

Simple and easy-to-setup Bible verse highlighter/formatter streamfield block for Wagtail CMS. Useful for quoting Scripture verses in a blog post, etc.

Screenshots

"Wagtail verses block result"

"Wagtail verses block admin"

Usage

Install via pip:

pip install wagtailversesblock

Import and add VersesBlock to models.py:

...

from wagtail.core.models import Page
from wagtail.core.fields import StreamField
...
from wagtailversesblock.blocks import VersesBlock

...

class ExamplePage(Page):

    ...

    body = StreamField([
        ('verses', VersesBlock()),
    ], null=True)

Development

Pull requests and/or feature suggestions are welcome!

License

Licensed under the BSD 3-Clause license