Skip to content

Commit 350d032

Browse files
committed
Update .pages.yml (via Pages CMS)
1 parent 40c81cf commit 350d032

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Diff for: .pages.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,20 @@ content:
2828
label: Recettes
2929
path: docs/recettes
3030
type: collection
31-
fields: [ title, date, author ]
31+
fields:
32+
- name: published
33+
label: Published
34+
type: boolean
35+
default: true
36+
- name: date
37+
label: Date
38+
type: date
39+
- name: title
40+
label: Title
41+
type: string
42+
- name: body
43+
label: Body
44+
type: rich-text
3245
view:
3346
fields: [ title, date, published ] # title is the first entry and thus will be set to primary
3447
sort: [ date, title, published ]

0 commit comments

Comments
 (0)