gcg-website/static/admin/config.yml

363 lines
19 KiB
YAML
Raw Normal View History

2020-07-11 13:45:14 +02:00
backend:
2022-03-20 18:45:18 +01:00
name: gitlab
repo: cantortechnik/gcg-website
2020-07-11 13:45:14 +02:00
branch: master
2022-03-20 18:45:18 +01:00
auth_type: pkce
app_id: f9d3e269912cc9560d183167726afc7ccb517862904d0a6c0b10105719964bab
api_root: https://gitlab.cantorgymnasium.de/api/v4
base_url: https://gitlab.cantorgymnasium.de
auth_endpoint: oauth/authorize
2020-08-11 15:20:41 +02:00
media_folder: "static/media"
public_folder: "/media"
2022-03-20 19:18:39 +01:00
site_url: https://neu.cantorgymnasium.de
display_url: https://neu.cantorgymnasium.de
logo_url: /media/logo_y.svg
2020-07-12 10:41:10 +02:00
locale: "de"
2020-08-12 16:20:13 +02:00
publish_mode: editorial_workflow
2022-03-20 18:45:18 +01:00
show_preview_links: false
2020-07-11 13:45:14 +02:00
collections:
- name: "pages-de"
label: "Statische Seiten"
editor:
2022-03-20 18:45:18 +01:00
preview: true
files:
- name: "blog-index"
label: "Blog"
file: "content/german/blog/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "about-index"
label: "Über die Schule"
file: "content/german/about/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "anmeldung-index"
label: "Anmeldung"
file: "content/german/anmeldung/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "cantorpreis-index"
label: "Cantor-Preis"
file: "content/german/cantorpreis/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "contact-index"
label: "Kontakt"
2022-03-18 13:35:57 +01:00
file: "content/german/kontakt/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "event-index"
label: "Termine"
2022-03-19 10:21:45 +01:00
file: "content/german/termine/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2022-03-19 10:21:45 +01:00
- label: Termine
label_singular: " "
name: "events"
widget: "list"
fields:
- {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Datum", name: "date", widget: "datetime", required: true, date_format: "DD.MM.YYYY", time_format: "HH:mm"}
2022-03-20 18:45:18 +01:00
- {label: "Ort", name: "location", widget: "string", required: true}
2022-03-19 10:21:45 +01:00
- {label: "Beschreibung", name: "summary", widget: "string", required: false}
required: false
- name: "forms-index"
label: "Formulare und Vorlagen"
file: "content/german/forms/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "ganztagsangebote-index"
label: "Ganztagsangebote"
file: "content/german/ganztagsangebote/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "impressum"
label: "Impressum"
file: "content/german/impressum/index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Type", name: "type", widget: "hidden", default: "pages"}
- {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "wettbewerbe-index"
label: "Wettbewerbe"
file: "content/german/wettbewerbe/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "schuelerrat-index"
label: "Schülerrat"
file: "content/german/schuelerrat/_index.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown", required: false}
- name: "schuelerrat-geschaeftsordnung"
label: "Geschäftsordnung Schülerrat"
file: "content/german/schuelerrat/geschaeftsordnung.md"
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: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown", required: false}
2020-07-11 14:06:51 +02:00
- name: "author-de" # Used in routes, e.g., /admin/collections/blog
label: "Autor*innen" # Used in the UI
2022-03-20 18:45:18 +01:00
label_singular: "Autor*in"
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-10-01 15:52:38 +02:00
media_folder: '/static/media/people'
public_folder: '/media/people'
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-10-01 15:52:38 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
2020-07-11 17:35:50 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- {label: "Gravatar-E-Mail", name: "email", widget: "string", required: false}
2020-07-11 14:06:51 +02:00
- {label: "Foto", name: "image", widget: "image"}
- label: "Kontaktdaten"
label_singular: " "
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:
- {label: "Titel", name: "title", widget: "string", required: false}
- label: "Symbol"
name: "icon"
widget: "select"
options:
- { label: "Flickr", value: "ti-flickr" }
- { label: "Tumblr", value: "ti-tumblr" }
- { label: "YouTube", value: "ti-youtube" }
- { label: "Twitter", value: "ti-twitter-alt" }
- { label: "Pinterest", value: "ti-pinterest" }
- { label: "GitHub", value: "ti-github" }
- { label: "StackOverflow", value: "ti-stack-overflow" }
- { label: "Vimeo", value: "ti-vimeo" }
- { label: "Instagram", value: "ti-instagram" }
- { label: "Facebook", value: "ti-facebook" }
- { label: "SoundCloud", value: "ti-soundcloud" }
- { label: "Reddit", value: "ti-reddit" }
- { label: "Skype", value: "ti-skype" }
- { label: "LinkedIn", value: "ti-linkedin" }
- { label: "E-Mail", value: "ti-email" }
- { label: "Sonstige", value: "ti-sharethis" }
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"
2022-03-20 18:45:18 +01:00
label: "Blogbeiträge"
label_singular: "Blogbeitrag"
2020-07-11 17:23:03 +02:00
folder: "content/german/blog"
2020-07-18 11:31:36 +02:00
filter: {field: "type", value: "post"}
2020-07-11 17:23:03 +02:00
create: true
slug: "{{slug}}"
2020-07-12 10:41:10 +02:00
editor:
preview: false
2020-10-01 15:52:38 +02:00
media_folder: '/static/media/blog'
public_folder: '/media/blog'
2020-07-11 17:23:03 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Datum", name: "date", widget: "datetime", date_format: "DD.MM.YYYY", time_format: "HH:mm"}
2020-07-11 17:43:10 +02:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2020-08-11 15:20:41 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
2020-07-11 17:35:50 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Beitragsbild", name: "image", widget: "image", default: "/media/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"
search_fields: ["title"]
value_field: "title"
display_fields: ["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: "forms-de"
label: "Formulare und Vorlagen"
2022-03-20 18:45:18 +01:00
label_singular: "Formular"
description: "Hier sind Formulare, Vorlagen und andere Dokumente zu hinterlegen."
2020-07-17 20:01:45 +02:00
folder: "content/german/forms"
2020-07-18 11:31:36 +02:00
filter: {field: "type", value: "forms"}
2020-07-17 20:01:45 +02:00
create: true
slug: "{{slug}}"
editor:
preview: false
2020-10-02 14:59:56 +02:00
media_folder: '/static/media/forms'
public_folder: '/media/forms'
2020-07-17 20:01:45 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
2021-10-14 21:06:03 +02:00
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime", date_format: "DD.MM.YYYY", time_format: "HH:mm"}
2020-07-17 20:01:45 +02:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2020-08-11 15:20:41 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
2020-07-17 20:01:45 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
2020-07-17 20:01:45 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "forms"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "anmeldung-de"
label: "Anmeldung"
2022-03-20 18:45:18 +01:00
label_singular: "Anmeldeinformation"
2020-07-17 20:01:45 +02:00
folder: "content/german/anmeldung"
2020-07-18 11:31:36 +02:00
filter: {field: "type", value: "anmeldung"}
2020-07-17 20:01:45 +02:00
create: true
editor:
preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2020-07-18 11:31:36 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "anmeldung"}
2020-07-17 20:01:45 +02:00
- {label: "Text", name: "body", widget: "markdown"}
- name: "cantorpreis-de"
2022-03-20 18:45:18 +01:00
label: "Cantor-Preisträger*in"
2020-07-17 20:01:45 +02:00
folder: "content/german/cantorpreis"
2020-07-18 11:31:36 +02:00
filter: {field: "type", value: "cantorpreis"}
2020-07-17 20:01:45 +02:00
create: true
editor:
preview: false
2020-10-02 14:59:56 +02:00
media_folder: '/static/media/cantorpreis'
public_folder: '/media/cantorpreis'
2020-07-17 20:01:45 +02:00
fields:
2020-09-07 19:31:12 +02:00
- {label: "Jahr", name: "title", widget: "string"}
2020-07-17 20:01:45 +02:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2020-08-11 15:20:41 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
2020-09-07 19:31:12 +02:00
- {label: "Beschreibung", name: "description", widget: "text", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
2020-09-07 19:31:12 +02:00
- {label: "Name", name: "name", widget: "string"}
2020-07-17 20:01:45 +02:00
- 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: "Ganztagsangebote"
2022-03-20 18:45:18 +01:00
label_singular: "Ganztagsangebot"
2020-07-17 20:01:45 +02:00
folder: "content/german/ganztagsangebote"
2020-07-18 11:31:36 +02:00
filter: {field: "type", value: "ganztagsangebote"}
2020-07-17 20:01:45 +02:00
create: true
editor:
preview: false
2020-10-02 14:59:56 +02:00
media_folder: '/static/media/ganztagsangebote'
public_folder: '/media/ganztagsangebote'
2020-07-17 20:01:45 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
2021-10-14 21:06:03 +02:00
- {label: "Veröffentlichungsdatum", name: "date", widget: "datetime", date_format: "DD.MM.YYYY", time_format: "HH:mm"}
2020-07-17 20:01:45 +02:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
2020-07-17 20:01:45 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
2020-09-13 09:59:08 +02:00
- {label: "Themenbereiche", name: "categories_ag", widget: "string"}
2020-07-17 20:01:45 +02:00
- {label: "Dauer", name: "weekly", widget: "string"}
2020-09-13 09:59:08 +02:00
- {label: "Tag/Stunden", name: "duration", widget: "string"}
2020-07-17 20:01:45 +02:00
- {label: "Klassenstufen", name: "class", widget: "string"}
2020-09-13 09:59:08 +02:00
- {label: "Raum", name: "root", widget: "string"}
2020-07-17 20:01:45 +02:00
- {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: "wettbewerbe-de"
label: "Wettbewerbe"
2022-03-20 18:45:18 +01:00
label_singular: "Wettbewerb"
2020-07-17 20:01:45 +02:00
folder: "content/german/wettbewerbe"
2020-07-18 11:31:36 +02:00
filter: {field: "type", value: "wettbewerbe"}
2020-07-17 20:01:45 +02:00
create: true
editor:
preview: false
2020-10-02 15:10:23 +02:00
media_folder: '/static/media/contests'
public_folder: '/media/people/contests'
2020-07-17 20:01:45 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
2020-07-17 20:01:45 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2020-08-11 15:20:41 +02:00
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
2020-07-17 20:01:45 +02:00
- {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"}
2020-08-30 22:25:22 +02:00
- name: "schulchronik"
label: "Schulchronik"
2022-03-20 18:45:18 +01:00
label_singular: "Chronikjahr"
2020-08-30 22:25:22 +02:00
folder: "content/german/schulchronik"
filter: {field: "type", value: "schulchronik"}
create: true
2020-10-01 15:52:38 +02:00
#editor:
#preview: false
2020-10-02 15:25:35 +02:00
media_folder: '/static/media/schulchronik'
public_folder: '/media/schulchronik'
2020-08-30 22:25:22 +02:00
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: "/media/backgrounds/page-title.png"}
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- {label: "Type", name: "type", widget: "hidden", default: "schulchronik"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "abiturienten"
label: "Abiturienten"
2022-03-20 18:45:18 +01:00
label_singular: "Abiturjahrgang"
2020-08-30 22:25:22 +02:00
folder: "content/german/abiturienten"
filter: {field: "type", value: "abiturienten"}
create: true
editor:
preview: false
2020-10-02 15:25:35 +02:00
media_folder: '/static/media/abiturienten'
public_folder: '/media/abiturienten'
2020-08-30 22:25:22 +02:00
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: "/media/backgrounds/page-title.png"}
- {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- {label: "Mehrere Bilder", name: "few", widget: "boolean", default: "false", required: false}
- {label: "Type", name: "type", widget: "hidden", default: "abiturienten"}
- {label: "Text", name: "body", widget: "markdown"}