Update config.yml

This commit is contained in:
Denys Konovalov 2022-10-14 09:57:56 +00:00
parent b66e1a7309
commit 9791b02cd5

@ -228,7 +228,7 @@ collections:
- {label: "Position", name: "weight", widget: "number"}
- {label: "Untermenüs", name: "hasChildren", widget: "boolean"}
- {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ü"
name: "footer"
widget: "list"
@ -318,7 +318,8 @@ collections:
widget: "list"
fields:
- {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: "Beschreibung", name: "summary", widget: "string", required: false}
required: false