Update config.yml

This commit is contained in:
Denys Konovalov 2022-10-14 09:57:56 +00:00
parent 094d2e4ed7
commit 6837c2f373

View File

@ -228,7 +228,7 @@ collections:
- {label: "Position", name: "weight", widget: "number"} - {label: "Position", name: "weight", widget: "number"}
- {label: "Untermenüs", name: "hasChildren", widget: "boolean"} - {label: "Untermenüs", name: "hasChildren", widget: "boolean"}
- {label: "Link", name: "URL", widget: "string"} - {label: "Link", name: "URL", widget: "string"}
- {label: "Untermenü von", name: "parent", widget: "relation", collection: "config", file: "hugo-config", search_fields: ['menu.main.*.name'], display_fields: ['menu.main.*.name'], value_field: "menu.main.*.name"} - {label: "Untermenü von", name: "parent", widget: "relation", collection: "config", file: "hugo-config", search_fields: ['menu.main.*.name'], display_fields: ['menu.main.*.name'], value_field: "menu.main.*.name", required: "false"}
- label: "unteres Menü" - label: "unteres Menü"
name: "footer" name: "footer"
widget: "list" widget: "list"
@ -318,7 +318,8 @@ collections:
widget: "list" widget: "list"
fields: fields:
- {label: "Titel", name: "title", widget: "string", required: true} - {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Datum", name: "date", widget: "datetime", required: true, date_format: "DD.MM.YYYY", time_format: "HH:mm"} - {label: "Datum/Startdatum", name: "date", widget: "datetime", required: true, date_format: "DD.MM.YYYY", time_format: "HH:mm"}
- {label: "Enddatum", name: "enddate", widget: "datetime", required: false, date_format: "DD.MM.YYYY", time_format: "HH:mm"}
- {label: "Ort", name: "location", widget: "string", required: true} - {label: "Ort", name: "location", widget: "string", required: true}
- {label: "Beschreibung", name: "summary", widget: "string", required: false} - {label: "Beschreibung", name: "summary", widget: "string", required: false}
required: false required: false