fix sorting

This commit is contained in:
Quentin 2023-02-28 14:05:18 +01:00
parent 751468de8e
commit e21986a00e
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -81,6 +81,11 @@ collections:
preview: false
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
sortable_fields:
fields: [ 'commit_date', 'date', 'title', 'author' ]
default:
field: commit_date
direction: Descending
view_filters:
- label: "Publié"
field: status