Metadata-Version: 2.4
Name: ocyan.plugin.wagtail_content_page
Version: 2.0.1
Summary: Ocyan plugin: Wagtail content page
Home-page: https://git.mandelblog.com/mandel-plugins/ocyan.plugin.wagtail_content_page
Author: Mandel
Author-email: info@mandelblog.com
Classifier: Framework :: Ocyan
Classifier: Environment :: Plugins
Requires-Python: >=3.12,<3.13
Description-Content-Type: text/markdown
Requires-Dist: Django<6,>=5
Requires-Dist: Wagtail<8,>=7
Requires-Dist: ocyan.core>=1.2.7
Requires-Dist: ocyan.main>=2.0.1
Requires-Dist: ocyan.plugin.wagtail>=2.0.1
Provides-Extra: test
Requires-Dist: ocyan.plugin.testing; extra == "test"
Requires-Dist: pylint-django; extra == "test"
Requires-Dist: black; extra == "test"
Requires-Dist: coverage; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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: 

```json
    "wagtail content page": {
      "heading": false,
      "paragraph": false,
      "image": false,
      "html": true,
    },
```
