mandel/testing/: ocyan-plugin-wagtail-content-page-2.0.1 metadata and description
Ocyan plugin: Wagtail content page
| author | Mandel |
| author_email | [email protected] |
| classifiers |
|
| description_content_type | text/markdown |
| dynamic |
|
| metadata_version | 2.4 |
| provides_extras |
|
| requires_dist |
|
| requires_python | >=3.12,<3.13 |
| File | Tox results | History |
|---|---|---|
ocyan_plugin_wagtail_content_page-2.0.1-py3-none-any.whl
|
|
|
ocyan_plugin_wagtail_content_page-2.0.1.tar.gz
|
|
Ocyan plugin Wagtail content page
Installation
Add ocyan.plugin.wagtail_content_page to your projects dependencies.
Usage
This plugin comes with a wagtail page model that can be used to generate content pages and makes use of wagtail’s default streamfield editor instead of our roadrunner editor. You can disable certain blocks too, if you’d like. See “Configuration” for more information on this.
Configuration
Settings you need to configure in .json
- heading
- Enable/disable heading streamfield
- Default is true.
- paragraph
- Enable/disable paragraph streamfield
- Default is true.
- image
- Enable/disable image streamfield
- Default is true.
- table
- Enable/disable html table
- Default is true.
- add_to_cart
- Enable/disable add to cart table
- Default is false.
- actionbuttons
- Enable/disable call to action buttons streamfield.
- Default is false.
- html
- Enable/disable raw html streamfield
- Default is false.
Example:
"wagtail content page": {
"heading": false,
"paragraph": false,
"image": false,
"html": true,
},