gcg-website/static/admin/config.yml
2020-07-11 14:06:51 +02:00

28 lines
1.2 KiB
YAML

backend:
name: github
repo: eesev9ie/gcg-website
branch: master
site_domain: eesev9ie.netlify.app
media_folder: "static/images"
collections:
- name: "author-de" # Used in routes, e.g., /admin/collections/blog
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: "Gravatar-E-Mail", name: "email", widget: "string"}
- {label: "Foto", name: "image", widget: "image"}
- label: "Sozielle Netzwerke/Kontakt"
name: "social"
widget: "object"
fields:
- {label: "Symbol", name: "icon", widget: "string"}
- {label: "Link", name: "link", widget: "string"}
- {label: "Beschreibung", name: "body", widget: "markdown"}