From 2afd48f7828989c2590cae11dcdb8e5f55600f20 Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Tue, 23 Jan 2018 14:54:00 +1000 Subject: [PATCH] Update preview and delete config for pages --- public/admin/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/admin/config.yml b/public/admin/config.yml index 197b04f..2a6d7c7 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -29,6 +29,9 @@ collections: # A list of collections the CMS should be able to edit - {label: Twitter Creator Account, name: twitterCreatorAccount, widget: string, required: false} - name: "pages" label: "Pages" + delete: false # Prevent users from deleting documents in this collection + editor: + preview: false files: - file: "content/pages/home.md" label: "Home Page"