This commit is contained in:
Denys Konovalov 2020-07-11 17:35:50 +02:00
parent 6f5202f8cd
commit 441712ff93

View File

@ -16,7 +16,7 @@ collections:
fields: # The fields for each document, usually in front matter fields: # The fields for each document, usually in front matter
- {label: "Name", name: "title", widget: "string"} - {label: "Name", name: "title", widget: "string"}
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/slide1.jpg"} - {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/slide1.jpg"}
- {label: "Metabeschreibung", name: "description", widget: "text", default: ""} - {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- {label: "Gravatar-E-Mail", name: "email", widget: "string"} - {label: "Gravatar-E-Mail", name: "email", widget: "string"}
- {label: "Foto", name: "image", widget: "image"} - {label: "Foto", name: "image", widget: "image"}
- label: "Soz. Netzwerke/Kontaktdaten" - label: "Soz. Netzwerke/Kontaktdaten"
@ -37,10 +37,15 @@ collections:
- {label: "Datum", name: "date", widget: "datetime"} - {label: "Datum", name: "date", widget: "datetime"}
- {label: "Entwurf", name: "draft", widget: "boolean"} - {label: "Entwurf", name: "draft", widget: "boolean"}
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/slide1.jpg"} - {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/slide1.jpg"}
- {label: "Metabeschreibung", name: "description"} - {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- {label: "Beitragsbild", name: "image", widget: "image", default: "/images/image.png"} - {label: "Beitragsbild", name: "image", widget: "image", default: "/images/image.png"}
- {label: "Autor", name: "author", widget: "string", default: "CantorTechnik AG"} - {label: "Autor", name: "author", widget: "string", default: "CantorTechnik AG"}
- {label: "Kategorien", name: "cathegories", widget: "list", default: ["Sonstige"]) - label: "Kategorien"
- {label: "Tags", name: "tags", widget: "list", deault: [""]} name: "cathegories"
widget: "list"
- label: "Tags"
name: "tags"
widget: "list"
required: false
- {label: "Type", name: "type", widget: "hidden", default: "post"} - {label: "Type", name: "type", widget: "hidden", default: "post"}
- {label: "Text", name: "body", widget: "markdown"} - {label: "Text", name: "body", widget: "markdown"}