Support for object widget

This commit is contained in:
Mathias Biilmann Christensen
2016-10-28 04:51:37 +02:00
parent 442a02f009
commit 6b73c39ba8
9 changed files with 125 additions and 5 deletions

View File

@ -37,6 +37,13 @@ collections: # A list of collections the CMS should be able to edit
description: "General Site Settings"
fields:
- {label: "Global title", name: "site_title", widget: "string"}
- label: "Post Settings"
name: posts
widget: "object"
fields:
- {label: "Number of posts on frontpage", name: front_limit, widget: number}
- {label: "Default Author", name: author, widget: string}
- {label: "Default Thumbnail", name: thumb, widget: image, class: "thumb"}
- name: "authors"
label: "Authors"