docs: Update Quick Start “collection-types” (#3438)

This commit is contained in:
Justin Smith 2020-03-18 19:26:13 +01:00 committed by GitHub
parent 2409323dba
commit ab7ba435ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,7 @@ collections:
- label: "Blog in English"
name: "english_posts"
folder: "_posts"
create: true
filter: {field: "language", value: "en"}
fields:
- {label: "Language", name: "language", widget: "select", options: ["en", "es"]}
@ -69,6 +70,7 @@ collections:
- label: "Blog en Español"
name: "spanish_posts"
folder: "_posts"
create: true
filter: {field: "language", value: "es"}
fields:
- {label: "Lenguaje", name: "language", widget: "select", options: ["en", "es"]}
@ -116,4 +118,4 @@ collections:
fields:
- {label: Name, name: name, widget: string}
- {label: Address, name: address, widget: string}
```
```