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.
This commit is contained in:
Irene Morente 2017-05-10 23:11:22 -07:00 committed by David Calavera
parent 018616dc68
commit 1bef9939c3

View File

@ -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"