From 1bef9939c373ea54d145dc15882ecabaa05432be Mon Sep 17 00:00:00 2001 From: Irene Morente Date: Wed, 10 May 2017 23:11:22 -0700 Subject: [PATCH] Remove deprecated setting from example config.yml The `card` setting in the example config.yml was used in the first iteration of the card UI. The code was later changed to infer the fields that appear in the card, instead of having to configure them (see commit 2a2497072dd2c538735a92a1f6e93de6af7c796d). The old card settings, however, were left in the example configuration file, which leads to confusion. --- example/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/example/config.yml b/example/config.yml index 12e565e1..fd9d855a 100644 --- a/example/config.yml +++ b/example/config.yml @@ -17,7 +17,6 @@ collections: # A list of collections the CMS should be able to edit - {label: "Body", name: "body", widget: "markdown"} meta: - {label: "SEO Description", name: "description", widget: "text"} - card: {type: "image", image: "image", text: "title"} - name: "faq" # Used in routes, ie.: /admin/collections/:slug/edit label: "FAQ" # Used in the UI, ie.: "New Post" @@ -26,7 +25,6 @@ collections: # A list of collections the CMS should be able to edit fields: # The fields each document in this collection have - {label: "Question", name: "title", widget: "string", tagname: "h1"} - {label: "Answer", name: "body", widget: "markdown"} - card: {type: "alltype", text: "title"} - name: "settings" label: "Settings"