gcg-website/static/admin/config.yml

29 lines
1.3 KiB
YAML
Raw Normal View History

2020-07-11 13:45:14 +02:00
backend:
name: github
repo: eesev9ie/gcg-website
branch: master
site_domain: eesev9ie.netlify.app
media_folder: "static/images"
collections:
2020-07-11 14:06:51 +02:00
- name: "author-de" # Used in routes, e.g., /admin/collections/blog
2020-07-11 14:34:49 +02:00
label: "Deutsch/Autor" # Used in the UI
2020-07-11 14:06:51 +02:00
folder: "content/german/author" # The path to the folder where the documents are stored
2020-07-11 13:45:14 +02:00
create: true # Allow users to create new documents in this collection
2020-07-11 14:06:51 +02:00
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
2020-07-11 13:45:14 +02:00
fields: # The fields for each document, usually in front matter
2020-07-11 14:06:51 +02:00
- {label: "Name", name: "title", widget: "string"}
2020-07-11 14:11:36 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "images/backgrounds/page-title.jpg"}
2020-07-11 14:34:49 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", default: ""}
2020-07-11 14:06:51 +02:00
- {label: "Gravatar-E-Mail", name: "email", widget: "string"}
- {label: "Foto", name: "image", widget: "image"}
2020-07-11 14:34:49 +02:00
- label: "Soz. Netzwerke/Kontaktdaten"
2020-07-11 14:06:51 +02:00
name: "social"
2020-07-11 14:34:49 +02:00
widget: "list"
2020-07-11 14:06:51 +02:00
fields:
2020-07-11 14:34:49 +02:00
- {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://themify.me/themify-icons"}
2020-07-11 14:06:51 +02:00
- {label: "Link", name: "link", widget: "string"}
2020-07-11 14:34:49 +02:00
required: false
2020-07-11 14:06:51 +02:00
- {label: "Beschreibung", name: "body", widget: "markdown"}