create_collection
Create a new content collection to group and display content with custom HTML templates for websites using LightCMS.
Instructions
Create a new content collection. Collections display grouped content with custom templates.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Content category to include | |
| description | No | Collection description | |
| item_template | No | HTML template for each item | |
| items_per_page | No | Items per page for pagination | |
| name | Yes | Collection name,required | |
| page_template | No | HTML template for collection page | |
| slug | Yes | Collection URL slug,required | |
| sort_field | No | Field to sort by | |
| sort_order | No | Sort order: asc or desc |