gcg-website/static/admin/config.yml

28 lines
1.2 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
label: "Deutsch-Autor" # Used in the UI
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:06:51 +02:00
- {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"}