Name: wagtailblocks
Owner: Springload
Owner: Springload
Description: Common StreamField blocks for Wagtail
Created: 2015-11-12 03:36:31.0
Updated: 2018-01-20 00:08:59.0
Pushed: 2017-07-04 21:46:09.0
Homepage: https://pypi.python.org/pypi/wagtailcommonblocks
Size: 28
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Common StreamField blocks for Wagtail.
Check out Awesome Wagtail for more awesome packages and resources from the Wagtail community.
Assuming you have a Wagtail project up and running:
install wagtailcommonblocks
Add commonblocks to your settings.py
in the INSTALLED_APPS section, before the core wagtail packages:
'commonblocks',
'wagtail.contrib.wagtailsitemaps',
You can override the headings of the CommonHeadingBlock
block:
ONBLOCKS_HEADING = (
('h1', 'h1'),
('h2', 'h2'),