docs: Update Quick Start “collection-types” (#3438)
This commit is contained in:
parent
2409323dba
commit
ab7ba435ba
@ -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}
|
||||
```
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user