This commit is contained in:
Denys Konovalov 2022-12-26 18:02:30 +01:00
parent 4672f71542
commit 94d2558ef9

@ -460,6 +460,14 @@ collections:
preview: true preview: true
media_folder: '/static/media/blog' media_folder: '/static/media/blog'
public_folder: '/media/blog' public_folder: '/media/blog'
view_groups:
- label: Drafts
field: draft
sortable_fields:
fields: ['date', 'title']
default:
field: date
direction: Descending
fields: fields:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- {label: "Datum", name: "date", widget: "datetime", date_format: "dd/MM/yyyy", time_format: false} - {label: "Datum", name: "date", widget: "datetime", date_format: "dd/MM/yyyy", time_format: false}
@ -643,4 +651,3 @@ collections:
- {label: "Mehrere Bilder", name: "multiple", widget: "boolean", default: false, required: false} - {label: "Mehrere Bilder", name: "multiple", widget: "boolean", default: false, required: false}
- {label: "Type", name: "type", widget: "hidden", default: "abiturienten"} - {label: "Type", name: "type", widget: "hidden", default: "abiturienten"}
- {label: "Text", name: "body", widget: "markdown"} - {label: "Text", name: "body", widget: "markdown"}