From 22edb500e6e3c653063b912e2662ca0f0fd441bd Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Fri, 25 May 2018 08:57:00 +1000 Subject: [PATCH] Update singlePost config --- public/admin/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/admin/config.yml b/public/admin/config.yml index 3e0c7a0..4daa8eb 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -55,9 +55,14 @@ collections: # A list of collections the CMS should be able to edit widget: 'select' options: ["Published", "Featured", "Draft"] default: 'Published' + - {label: Date / Order, name: date, widget: date} + - {label: Post Featured Image, name: postFeaturedImage, widget: image, required: false} + - {label: Excerpt, name: excerpt, widget: text} + - {label: Content, name: body, widget: markdown} - label: "Categories" name: "categories" widget: "list" + required: false fields: - label: "Category" name: "category" @@ -65,10 +70,6 @@ collections: # A list of collections the CMS should be able to edit collection: "postCategories" searchFields: ["title"] valueField: "title" - - {label: Date / Order, name: date, widget: date} - - {label: Post Featured Image, name: postFeaturedImage, widget: image, required: false} - - {label: Excerpt, name: excerpt, widget: text} - - {label: Content, name: body, widget: markdown} - name: postCategories