gcg-website/static/admin/config.yml
Denys Konovalov 7a9a4dac1b ++upd
2020-07-18 11:03:55 +02:00

221 lines
11 KiB
YAML

backend:
name: github
repo: eesev9ie/gcg-website
branch: master
site_domain: eesev9ie.netlify.app
media_folder: "static/images"
public_folder: "/images"
site_url: https://eesev9ie.github.io
display_url: https://eesev9ie.github.io
logo_url: https://eesev9ie.github.io/images/logo_y.svg
locale: "de"
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
editor:
preview: false
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.png"}
- {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"
name: "social"
widget: "list"
fields:
- {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"}
- name: "blog-de"
label: "Deutsh/Blogbeitrag"
folder: "content/german/blog"
create: true
slug: "{{slug}}"
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Datum", name: "date", widget: "datetime"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- {label: "Beitragsbild", name: "image", widget: "image", default: "/images/image.png"}
- label: "Beitragsautor"
name: "author"
widget: "relation"
collection: "author-de"
searchFields: ["title"]
valueField: "title"
displayFields: ["title"]
- label: "Kategorien"
name: "cathegories"
widget: "list"
required: false
field: {label: "Kategorie", name: "cathegory", widget: "string"}
- {label: "Tags", name: "tags", widget: "string", required: false, hint: '["Tag 1", "Tag 2"]'}
- {label: "Type", name: "type", widget: "hidden", default: "post"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "teacher-de"
label: "Deutsch/Lehrer|AG-Leiter"
folder: "content/german/teacher"
create: true
slug: "{{slug}}"
editor:
preview: false
fields:
- {label: "Name", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Bild", name: "image", widget: "image", default: "/images/teachers/image.png", required: false}
- {label: "Fachbereich", name: "course", widget: "string", hint: "Bei Ganztagsangeboten Ganztagsangebote/Bereich"}
- {label: "Beschreibung", name: "bio", widget: "text"}
- label: "Fächer/Arbeitsgemeinschaften"
name: "interest"
widget: "list"
field: {label: "Fach/AG", name: "interest", widget: "string"}
- label: "Kontaktdaten/Soz. Netzwerke"
name: "contact"
widget: "list"
fields:
- {label: "Name/Adresse/Telefonnummer", name: "name", 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: "AG-Leiter", name: "clubs", widget: "boolean", default: false, required: false}
- {label: "Type", name: "type", widget: "hidden", default: "teacher"}
- {label: "Formspree-Kontaktformular", name: "formspree_link", widget: "string", hint: "[Nur für AG-Leiter]Für ein Kontaktformular kann man sich auf der Website https://formspree.io registrieren und ein Formular erstellen.", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "events-de"
label: "Deutsch/Termine"
folder: "content/german/event"
create: true
slug: "{{slug}}"
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "publishDate", widget: "datetime"}
- {label: "Datum", name: "date", widget: "datetime"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Bild", name: "image", widget: "image", default: "/images/image.png", required: false}
- {label: "Ort", name: "location", widget: "string", default: "Georg-Cantor-Gymnasium, Halle(Saale)"}
- {label: "Type", name: "type", widget: "hidden", default: "event"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "forms-de"
label: "Deutsch/Formulare|Vorlagen"
folder: "content/german/forms"
create: true
slug: "{{slug}}"
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Bild", name: "image", widget: "image", default: "/images/image.png", required: false}
- {label: "Type", name: "type", widget: "hidden", default: "forms"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "anmeldung-de"
label: "Deutsch/Anmeldung"
folder: "content/german/anmeldung"
create: true
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "cantorpreis-de"
label: "Deutsch/CantorPreis"
folder: "content/german/cantorpreis"
create: true
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Bild", name: "image", widget: "image", default: "/images/image.png", required: false}
- {label: "Jahr", name: "year", widget: "string"}
- {label: "Beschreibung", name: "bio", widget: "text"}
- label: "Kontaktdaten/Soz. Netzwerke"
name: "contact"
widget: "list"
fields:
- {label: "Name/Adresse/Telefonnummer", name: "name", widget: "string"}
- {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://themify.me/themify-icons"}
- {label: "Link", name: "link", widget: "string"}
- {label: "Type", name: "type", widget: "hidden", default: "cantorpreis"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "ganztagsangebote-de"
label: "Deutsch/Ganztagsangebote"
folder: "content/german/ganztagsangebote"
create: true
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Bild", name: "image", widget: "image", default: "/images/image.png", required: false}
- {label: "Kategorie", name: "category", widget: "string"}
- label: "Leiter"
name: "teacher"
widget: "relation"
collection: "teacher-de"
searchFields: ["title"]
valueField: "title"
displayFields: ["title"]
- {label: "Tag/Stunden", name: "duration", widget: "string"}
- {label: "Dauer", name: "weekly", widget: "string"}
- {label: "Klassenstufen", name: "class", widget: "string"}
- {label: "Anmeldelink", name: "apply_url", widget: "hidden", default: "https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828"}
- {label: "Type", name: "type", widget: "hidden", default: "ganztagsangebote"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "notice-de"
label: "Deutsch/Hinweise"
folder: "content/german/notice"
create: true
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Type", name: "type", widget: "hidden", default: "notice"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "wettbewerbe-de"
label: "Deutsch/Wettbewerbe"
folder: "content/german/wettbewerbe"
create: true
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Bild", name: "image", widget: "image", default: "/images/image.png", required: false}
- {label: "Fach", name: "category", widget: "string"}
- {label: "Klassenstufen", name: "class", widget: "string"}
- {label: "Website", name: "web_url", widget: "string"}
- {label: "Type", name: "type", widget: "hidden", default: "wettbewerbe"}
- {label: "Text", name: "body", widget: "markdown"}