Skip to content

Commit

Permalink
Update .pages.yml (via Pages CMS)
Browse files Browse the repository at this point in the history
  • Loading branch information
afaucogney committed Aug 19, 2024
1 parent 40c81cf commit 350d032
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,20 @@ content:
label: Recettes
path: docs/recettes
type: collection
fields: [ title, date, author ]
fields:
- name: published
label: Published
type: boolean
default: true
- name: date
label: Date
type: date
- name: title
label: Title
type: string
- name: body
label: Body
type: rich-text
view:
fields: [ title, date, published ] # title is the first entry and thus will be set to primary
sort: [ date, title, published ]
Expand Down

0 comments on commit 350d032

Please sign in to comment.