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:
parent
018616dc68
commit
1bef9939c3
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user