From a5392916e2d658186c5bd61711861b472a452cde Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 11 Jul 2020 17:35:50 +0200 Subject: [PATCH] hh --- static/admin/config.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 3352266e..deba2f1f 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -16,7 +16,7 @@ collections: fields: # The fields for each document, usually in front matter - {label: "Name", name: "title", widget: "string"} - {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: "Foto", name: "image", widget: "image"} - label: "Soz. Netzwerke/Kontaktdaten" @@ -37,10 +37,15 @@ collections: - {label: "Datum", name: "date", widget: "datetime"} - {label: "Entwurf", name: "draft", widget: "boolean"} - {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: "Autor", name: "author", widget: "string", default: "CantorTechnik AG"} - - {label: "Kategorien", name: "cathegories", widget: "list", default: ["Sonstige"]) - - {label: "Tags", name: "tags", widget: "list", deault: [""]} + - label: "Kategorien" + name: "cathegories" + widget: "list" + - label: "Tags" + name: "tags" + widget: "list" + required: false - {label: "Type", name: "type", widget: "hidden", default: "post"} - {label: "Text", name: "body", widget: "markdown"}