gcg-website/static/admin/config.yml

225 lines
11 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"
2020-07-11 14:50:24 +02:00
public_folder: "/images"
2020-07-12 10:41:10 +02:00
site_url: https://eesev9ie.github.io
display_url: https://eesev9ie.github.io
logo_url: https://eesev9ie.github.io/images/logo_y.svg
locale: "de"
2020-07-11 13:45:14 +02:00
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-12 10:41:10 +02:00
editor:
preview: false
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-17 20:01:45 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/backgrounds/page-title.png"}
2020-07-11 17:35:50 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
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"}
2020-07-11 17:23:03 +02:00
- name: "blog-de"
label: "Deutsh/Blogbeitrag"
folder: "content/german/blog"
create: true
slug: "{{slug}}"
2020-07-12 10:41:10 +02:00
editor:
preview: false
2020-07-11 17:23:03 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Datum", name: "date", widget: "datetime"}
2020-07-11 17:43:10 +02:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2020-07-17 20:01:45 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/images/backgrounds/page-title.png"}
2020-07-11 17:35:50 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
2020-07-11 17:23:03 +02:00
- {label: "Beitragsbild", name: "image", widget: "image", default: "/images/image.png"}
2020-07-17 20:01:45 +02:00
- label: "Beitragsautor"
2020-07-12 10:41:10 +02:00
name: "author"
widget: "relation"
collection: "author-de"
searchFields: ["title"]
valueField: "title"
displayFields: ["title"]
2020-07-18 11:03:55 +02:00
- label: "Kategorien"
2020-07-18 11:13:18 +02:00
name: "categories"
2020-07-18 11:03:55 +02:00
widget: "list"
required: false
2020-07-18 11:13:18 +02:00
field: {label: "Kategorie", name: "category", widget: "string"}
- label: "Tags"
name: "tags"
widget: "list"
required: false
field: {label: "Tag", name: "tag", widget: "string"}
2020-07-11 17:23:03 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "post"}
2020-07-11 17:25:03 +02:00
- {label: "Text", name: "body", widget: "markdown"}
2020-07-17 20:01:45 +02:00
- 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"}