A Collection of wagtail steam fields
Project description
:warning: This project is very beta everything can change any second :warning:️
:warning: And this i my first python package :warning:️
:warning: So no garanties of any kind :warning:️
wagtail-block-collection
A collection of some basic wagtail streamfields blocks. Based on bootstrap 5.0
The blocks are divided in two categories:
Sections
Sections are a group of multiple blocks and include settings like the background.
They are perfect for the basic one page layout
Blocks
These are just your normal streamfields to fill your site with content.
They van be used without the sections
Sections
- Basic color background
- paralax img background
- img background
- gradient background
- section content and image side by side
- Full with (and hight) slider
Blocks
- Text
- Img + Text
- Title
- Icon
- Button
- Image
- Youtube video
- Bootstrap card deck
- Bootstrap column
- Spacer
- Collapse content by button
- Line
- Google maps
- IMG slider
Planed
- Vimeo video
- More sliders
- Bootstrap accordion
- Bootstrap alert
- Bootstrap buttongroup
- Icon list
- Price table
Quickstart
This is the short version of what is in the docs
You need to have a working Wagtail project and the bootstrap 5.0 .css and .js
pip install wagtail-block-collection
Add the following enteries to your settings.py in the INSTALLED_APPS section:
'wagtailfontawesome',
'wagtail_color_panel',
'wagtail.contrib.settings',
'wagtail_block_collection',
Make sure you have the 'wagtail.contrib.settings.context_processors.settings',
templates context_processors
Now you can import any of the blocks from wagtail_block_collection.blocks
Or you can import them all using all_blocks
Todo
- Add more documentation
- Add scaling options to the img block
- Animations
- Build a easy way to select icons
- Tabels
- Charts
- More slider
- Tabs
- Masonry image
- Image lazy loading
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for wagtail_block_collection-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d04bcd3c54a7453da5ef61b365f41b08da319dbc092b9f7afafa3e68d1f37636 |
|
MD5 | 2618934beabc54d33d65641adce04f13 |
|
BLAKE2b-256 | 481160fdb178193d0ca88b7ac69ddcf876e7ac26cb34ff49f327a70edf106029 |