Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/correct-syntax/wagtail-versesblock
Bible verse highlighter/formatter streamfield block for Wagtail CMS.
https://github.com/correct-syntax/wagtail-versesblock
bible bible-verse-highlighter streamfield verses wagtail wagtail-cms
Last synced: 15 days ago
JSON representation
Bible verse highlighter/formatter streamfield block for Wagtail CMS.
- Host: GitHub
- URL: https://github.com/correct-syntax/wagtail-versesblock
- Owner: Correct-Syntax
- License: other
- Created: 2020-08-03T02:15:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T14:14:44.000Z (about 4 years ago)
- Last Synced: 2025-01-16T07:56:47.086Z (17 days ago)
- Topics: bible, bible-verse-highlighter, streamfield, verses, wagtail, wagtail-cms
- Language: Python
- Homepage:
- Size: 173 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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"](https://github.com/Correct-Syntax/wagtail-versesblock/blob/master/screenshots/wagtailversesblock-block-result.jpg?raw=true "Wagtail verses block result")
!["Wagtail verses block admin"](https://github.com/Correct-Syntax/wagtail-versesblock/blob/master/screenshots/wagtailversesblock-block-admin.jpg?raw=true "Wagtail verses block admin")
# Usage
Install via pip:
``pip install wagtailversesblock``
Import and add ``VersesBlock`` to *models.py*:
```python
...
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