From 58553d5e42be0f8cd655910bb7da14f7e869b429 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 11 Jul 2020 14:34:49 +0200 Subject: [PATCH] hh --- static/admin/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 6c263e4f..6e759cab 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -8,20 +8,21 @@ media_folder: "static/images" collections: - name: "author-de" # Used in routes, e.g., /admin/collections/blog - label: "Deutsch-Autor" # Used in the UI + label: "Deutsch/Autor" # Used in the UI folder: "content/german/author" # The path to the folder where the documents are stored create: true # Allow users to create new documents in this collection slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md 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/backgrounds/page-title.jpg"} - - {label: "Metabeschreibung", name: "description", widget: "text"} + - {label: "Metabeschreibung", name: "description", widget: "text", default: ""} - {label: "Gravatar-E-Mail", name: "email", widget: "string"} - {label: "Foto", name: "image", widget: "image"} - - label: "Soz. Netzwerke/Kontakt" + - label: "Soz. Netzwerke/Kontaktdaten" name: "social" - widget: "object" + widget: "list" fields: - - {label: "Symbol", name: "icon", widget: "string"} + - {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://themify.me/themify-icons"} - {label: "Link", name: "link", widget: "string"} + required: false - {label: "Beschreibung", name: "body", widget: "markdown"}