gcg-website/static/admin/config.yml

912 lines
45 KiB
YAML
Raw Normal View History

2020-07-11 13:45:14 +02:00
backend:
2023-01-25 19:33:28 +01:00
name: gitea
repo: gcg/gcg-website
2020-07-11 13:45:14 +02:00
branch: master
2023-01-25 19:33:28 +01:00
api_root: https://git.cantorgymnasium.de/api/v1
base_url: https://oauth.cantorgymnasium.de
2023-01-10 22:23:04 +01:00
commit_messages:
2023-01-27 18:41:08 +01:00
create: "{{collection}} {{slug}} erstellt"
update: "{{collection}} {{slug}} aktualisiert"
delete: "{{collection}} {{slug}} gelöscht"
2023-01-10 22:23:04 +01:00
uploadMedia: "{{path}} hochgeladen"
deleteMedia: "{{path}} gelöscht"
local_backend: true
2023-02-06 22:56:00 +01:00
media_folder: "/static/media"
2020-08-11 15:20:41 +02:00
public_folder: "/media"
2022-10-19 18:59:19 +02:00
site_url: https://cantorgymnasium.de
display_url: https://cantorgymnasium.de
2020-07-12 10:41:10 +02:00
locale: "de"
2022-03-21 12:35:46 +01:00
2023-01-27 18:41:08 +01:00
slug:
encoding: "ascii"
clean_accents: true
sanitize_replacement: "-"
2022-03-20 18:45:18 +01:00
show_preview_links: false
2020-07-11 13:45:14 +02:00
collections:
2022-03-23 07:23:06 +01:00
- name: "config"
2023-01-10 22:23:04 +01:00
icon: "settings"
2022-03-23 07:23:06 +01:00
label: "Konfiguration"
description: "Hier können die Basiseinstellungen der Website geändert werden."
editor:
preview: false
2023-02-06 22:56:00 +01:00
media_folder: "/static/media"
public_folder: "/media"
2022-03-23 07:23:06 +01:00
files:
2022-03-26 18:53:47 +01:00
- name: "homepage-config"
label: "Startseitenkonfiguration"
file: "data/de/homepage.yml"
2022-03-26 19:52:50 +01:00
media_folder: "/static/media/home"
2023-02-06 22:56:00 +01:00
public_folder: "/media/home"
2022-03-26 19:17:36 +01:00
format: yml
2022-03-26 18:53:47 +01:00
fields:
2023-01-10 22:23:04 +01:00
- label: "Banner"
name: "top_banner"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2023-01-10 22:23:04 +01:00
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Text", name: "text", widget: "string", required: false}
- {label: "Farbe", name: "color", widget: "color", required: false}
- {label: "Schriftfarbe", name: "font_color", widget: "color", required: false}
2023-02-08 15:49:01 +01:00
- {label: "Symbol", name: "icon", widget: "string", required: false, hint: "Liste unter https://pictogrammers.com/library/mdi/"}
2023-01-10 22:23:04 +01:00
- label: "Zeitschaltung"
name: temporarily
widget: "object"
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Startdatum", name: "start_date", widget: "datetime", required: false, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"}
- {label: "Enddatum", name: "end_date", widget: "datetime", required: false, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"}
- label: "Karusell"
2022-03-26 18:53:47 +01:00
name: "slider"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 18:53:47 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "image", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-10 22:23:04 +01:00
- {label: "Titel", name: "title", widget: "string", required: false}
2022-03-26 18:53:47 +01:00
- label: "Elemente"
2023-01-10 22:23:04 +01:00
label_singular: "Element"
2022-03-26 18:53:47 +01:00
name: "slider_item"
widget: "list"
fields:
2022-03-26 20:17:00 +01:00
- {label: "Inhalt", name: "content", widget: "string", required: false}
2022-03-26 18:53:47 +01:00
- label: "Einblendeanimation"
name: "animation_in"
widget: "select"
options: ["left", "right", "up", "down"]
2022-03-26 20:17:00 +01:00
required: false
2022-03-26 18:53:47 +01:00
- label: "Ausblendeanimation"
name: "animation_out"
widget: "select"
options: ["left", "right", "up", "down"]
2022-03-26 20:17:00 +01:00
required: false
2022-03-26 18:53:47 +01:00
- label: "Button"
name: "button"
widget: "object"
2022-03-26 20:17:00 +01:00
required: false
2022-03-26 18:53:47 +01:00
fields:
2022-03-26 20:17:00 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Bezeichnung", name: "label", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
2023-02-07 12:52:21 +01:00
- label: "Partnerlogos (oben)"
2023-01-14 17:31:54 +01:00
name: "header_logos"
2022-03-26 19:17:36 +01:00
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:17:36 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-02-07 12:52:21 +01:00
- label: "Logos"
name: "logos"
widget: "list"
required: false
fields:
- {label: "Titel", name: "title", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
- {label: "Grafik", name: "image", widget: "image", required: true, media_folder: "/static/media/logos", public_folder: "/media/logos"}
2022-03-26 19:52:50 +01:00
- label: "\"Über\"-Seite"
name: "about"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:52:50 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
- {label: "Inhalt", name: "content", widget: "markdown", required: false}
2022-03-26 19:52:50 +01:00
- label: "Button"
name: "button"
widget: "object"
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Bezeichnung", name: "label", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
2023-01-14 17:31:54 +01:00
- label: "Blog"
name: "blog"
widget: "object"
collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string"}
- label: "Erfolge"
name: "success_banner"
widget: "object"
collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-14 17:31:54 +01:00
- label: "Elemente"
name: "feature_item"
widget: "list"
fields:
- {label: "Bezeichnung", name: "name", widget: "string", required: false}
2023-02-08 15:49:01 +01:00
- {label: "Symbol", name: "icon", widget: "string", required: false, hint: "Liste unter https://pictogrammers.com/library/mdi/"}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-14 17:31:54 +01:00
- {label: "Inhalt", name: "content", widget: "markdown", required: false}
2022-03-26 19:52:50 +01:00
- label: "Ganztagsangebote"
name: "ganztagsangebote"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:52:50 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
2022-03-26 19:52:50 +01:00
- label: "Aktionsbutton"
name: "cta"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:52:50 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
- {label: "Untertitel", name: "subtitle", widget: "string", required: false}
2022-03-26 19:52:50 +01:00
- label: "Button"
name: "button"
widget: "object"
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Bezeichnung", name: "label", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
2022-03-26 19:52:50 +01:00
- label: "Informationen"
name: "info"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:52:50 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "image", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-10 22:23:04 +01:00
- {label: "Titel", name: "title", widget: "string", required: false}
- {label: "Inhalt", name: "content", widget: "text", required: false}
- {label: "Video-Link", name: "video_link", widget: "string", required: false}
2022-03-26 19:52:50 +01:00
- label: "Termine"
name: "termine"
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:52:50 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
2023-01-14 17:31:54 +01:00
- label: "DigitalPakt-Banner"
name: "digitalpakt"
2022-03-26 19:52:50 +01:00
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2022-03-26 19:52:50 +01:00
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-01-14 17:31:54 +01:00
- {label: "Titel", name: "title", widget: "string", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-14 17:31:54 +01:00
- {label: "Inhalt", name: "content", widget: "markdown", required: false}
2023-02-07 12:52:21 +01:00
- label: "Partnerlogos (unten)"
2023-01-14 17:31:54 +01:00
name: "footer_logos"
2023-01-10 22:23:04 +01:00
widget: "object"
2023-01-14 17:31:54 +01:00
collapsed: true
2023-01-10 22:23:04 +01:00
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-02-07 12:52:21 +01:00
- label: "Logos"
name: "logos"
widget: "list"
required: false
fields:
- {label: "Titel", name: "title", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
- {label: "Grafik", name: "image", widget: "image", required: true, media_folder: "/static/media/logos", public_folder: "/media/logos"}
2022-03-23 07:23:06 +01:00
- name: "hugo-config"
label: "Website-Konfiguration"
2023-01-10 22:23:04 +01:00
file: "config.yml"
2022-03-23 07:23:06 +01:00
fields:
- {label: "Website-URL", name: "baseURL", widget: "string"}
- {label: "Titel", name: "title", widget: "string"}
- {label: "Elemente je Seite", name: "paginate", widget: "number", value_type: "int"}
- {label: "Lände von Zusammenfassungen", name: "summaryLength", widget: "number", value_type: "int"}
2023-01-10 22:23:04 +01:00
- {label: "Standardsprache in Unterordner", name: "defaultContentLanguageInSubdir", widget: "boolean", required: false}
2022-03-23 07:23:06 +01:00
- {label: "Standardsprache", name: "defaultContentLanguage", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Emoji", name: "enableEmoji", widget: "boolean", required: false}
- {label: "robots.txt", name: "enableRobotsTxt", widget: "boolean", required: false}
2022-03-23 07:23:06 +01:00
- {label: "Zeitzone", name: "timeZone", widget: "string"}
- label: "Markdown-Enstellungen"
name: "markup"
widget: "object"
collapsed: true
summary: '{{fields.defaultMarkdownHandler}}'
fields:
- {label: "standardmäßiger Markdown-Handler", name: "defaultMarkdownHandler", widget: "select", options: ["blackfriday", "goldmark"]}
- label: "Goldmark-Einstellungen"
name: "goldmark"
widget: "object"
fields:
- label: "Renderer-Einstellungen"
name: "renderer"
widget: "object"
2023-01-10 22:23:04 +01:00
fields: [{label: "Unsicheren Inhalt erlauben", name: "unsafe", widget: "boolean", required: false}]
2022-03-23 07:23:06 +01:00
- label: "Einstellungen"
name: "params"
widget: "object"
collapsed: true
fields:
- label: "Plugins"
name: "plugins"
widget: "object"
fields:
- label: "CSS"
name: "css"
widget: "list"
fields:
- {label: "Link", name: "link", widget: "string"}
- label: "JavaScript"
name: "js"
widget: "list"
fields:
- {label: "Link", name: "link", widget: "string"}
2023-02-06 22:56:00 +01:00
- {label: "Logo", name: "logo", widget: "image", media_library: { config: { max_file_size: 2048000 } } }
2022-03-23 07:23:06 +01:00
- {label: "Autor", name: "author", widget: "string"}
- {label: "Adresse", name: "address", widget: "string"}
- {label: "Route (Link)", name: "route_link", widget: "string"}
- {label: "Telefonnummer", name: "mobile", widget: "string"}
- {label: "E-Mail-Adresse", name: "email", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "E-Mail-Adresse (UI-Ansicht)", name: "email_pretty", widget: "string"}
- {label: "Beschreibung", name: "description", widget: "string"}
2022-03-23 07:23:06 +01:00
- {label: "Kontakt-Titelleiste", name: "top_header", widget: "boolean"}
2023-01-14 17:31:54 +01:00
- label: "Vorschaubilder"
name: "images"
widget: "list"
required: false
fields:
- label: "Bild-Pfad"
name: "path"
widget: "string"
2023-01-10 22:23:04 +01:00
- {label: "Twitter-Konto", name: "twitter", widget: "string", required: false}
2022-03-23 07:23:06 +01:00
- label: "Ladeanimation"
name: "preloader"
widget: "object"
fields:
2023-01-10 22:23:04 +01:00
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Logo", name: "preloader", widget: "image", media_library: { config: { max_file_size: 2048000 } } }
- {label: "Ladeanimation", name: "loader", widget: "image", media_library: { config: { max_file_size: 2048000 } } }
2022-03-23 07:23:06 +01:00
- label: "Soz. Netzwerke"
name: "social"
widget: "list"
fields:
- {label: "Bezeichnung", name: "title", widget: "string"}
2023-02-08 15:49:01 +01:00
- {label: "Symbol", name: "icon", widget: "string", hint: "Liste unter https://pictogrammers.com/library/mdi/"}
2023-01-14 17:31:54 +01:00
- {label: "Link", name: "link", widget: "string"}
2022-03-23 07:23:06 +01:00
- label: "Menü"
name: "menu"
widget: "object"
collapsed: true
fields:
- label: "Hauptmenü"
name: "main"
widget: "list"
fields:
- {label: "Titel", name: "name", widget: "string"}
- {label: "Position", name: "weight", widget: "number"}
2022-10-15 18:07:24 +00:00
- {label: "Untermenüs", name: "hasChildren", widget: "boolean", required: false}
- {label: "Link", name: "URL", widget: "string", required: false}
2022-10-14 10:04:13 +00:00
- {label: "Untermenü von", name: "parent", widget: "relation", collection: "config", file: "hugo-config", search_fields: ['menu.main.*.name'], display_fields: ['menu.main.*.name'], value_field: "menu.main.*.name", required: false}
2023-02-07 23:02:26 +01:00
- label: "Parameter"
name: "params"
widget: "object"
collapsed: false
fields:
- {label: "Externer Link", hint: "Wird in neuem Tab geöffnet.", name: "external", widget: "boolean", default: false, required: false}
2022-03-23 07:23:06 +01:00
- label: "unteres Menü"
name: "footer"
widget: "list"
fields:
- {label: "Titel", name: "name", widget: "string"}
- {label: "Link", name: "URL", widget: "string"}
- label: "Sprachen"
2023-01-10 22:23:04 +01:00
name: "languages"
2022-03-23 07:23:06 +01:00
widget: "object"
collapsed: true
fields:
- label: "Deutsch"
name: "de"
widget: "object"
fields:
- {label: "Abkürzung", name: "languageName", widget: "string"}
- {label: "Sprachcode", name: "languageCode", widget: "string"}
- {label: "Inhalt-Ordner", name: "contentDir", widget: "string"}
- {label: "Position", name: "weight", widget: "number"}
- {label: "Startseitenbezeichnung", name: "home", widget: "string"}
- {label: "Copyright-Hinweis", name: "copyright", widget: "string"}
- {label: "Impressum-Link", name: "impressumURL", widget: "string"}
- {label: "Datenschutz-Link", name: "dseURL", widget: "string"}
2023-01-10 22:23:04 +01:00
- label: "Privatsphäre"
name: "privacy"
widget: "object"
2023-02-07 23:02:26 +01:00
collapsed: true
2023-01-10 22:23:04 +01:00
fields:
- label: "Disqus"
name: "disqus"
widget: "object"
fields: [{label: "Deaktivieren", name: "disable", widget: "boolean", required: false}]
- label: "Google Analytics"
name: "googleAnalytics"
widget: "object"
fields: [{label: "Deaktivieren", name: "disable", widget: "boolean", required: false}]
- label: "Instagram"
name: "instagram"
widget: "object"
fields: [{label: "Deaktivieren", name: "disable", widget: "boolean", required: false}]
- label: "Twitter"
name: "twitter"
widget: "object"
fields: [{label: "Tracking deaktivieren", name: "enableDNT", widget: "boolean", required: false}]
- label: "YouTube"
name: "youtube"
widget: "object"
fields: [{label: "Piped-Proxy", name: "privacyEnhanced", widget: "boolean", required: false}]
- label: "Vimeo"
name: "vimeo"
widget: "object"
fields: [{label: "Tracking deaktivieren", name: "enableDNT", widget: "boolean", required: false}]
2023-01-30 19:54:31 +01:00
- name: "categories-config"
label: "Kategorien"
file: "data/de/categories.yml"
format: yml
fields:
- label: "Aktuelles"
label_singular: "Kategorie"
name: "blog"
widget: "list"
required: true
fields:
- {label: "Kategorie", name: "category", widget: "string", required: true}
- label: "Ganztagsbereich"
label_singular: "Kategorie"
name: "ganztag"
widget: "list"
required: true
fields:
- {label: "Kategorie", name: "category", widget: "string", required: true}
- label: "Wettbewerbe"
label_singular: "Kategorie"
name: "contests"
widget: "list"
required: true
fields:
- {label: "Kategorie", name: "category", widget: "string", required: true}
- label: "Begabtenförderung"
label_singular: "Kategorie"
name: "begabte"
widget: "list"
required: true
fields:
- {label: "Kategorie", name: "category", widget: "string", required: true}
2023-01-10 22:23:04 +01:00
- name: "index-pages"
icon: "page"
label: "Hauptseiten"
editor:
2022-03-20 18:45:18 +01:00
preview: true
2023-01-14 17:31:54 +01:00
frame: true
files:
- name: "blog-index"
2023-01-10 22:23:04 +01:00
label: "Aktuelles"
file: "content/german/blog/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", default: "/media/image.webp", required: false, media_library: { config: { max_file_size: 2048000 } } }
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-01-14 17:31:54 +01:00
- label: "Statistik"
name: "stats"
widget: "object"
collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- label: "Elemente"
name: "zahlen"
widget: "list"
fields:
- {label: "Bezeichnung", name: "name", widget: "string", required: false}
- {label: "Zahl", name: "count", widget: "number", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "anmeldung-index"
label: "Anmeldung"
file: "content/german/anmeldung/_index.md"
fields:
2023-01-10 22:23:04 +01:00
- {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-01-10 22:23:04 +01:00
- label: "Elemente"
label_singular: "Element"
name: "elements"
widget: "list"
fields:
- {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Text", name: "content", widget: "markdown", required: true}
required: false
- {label: "Text", name: "body", widget: "markdown", required: false}
- name: "cantorpreis-index"
label: "Cantor-Preis"
file: "content/german/cantorpreis/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2022-03-19 10:21:45 +01:00
- label: Termine
2023-01-10 22:23:04 +01:00
label_singular: "Termin"
2022-03-19 10:21:45 +01:00
name: "events"
widget: "list"
fields:
- {label: "Titel", name: "title", widget: "string", required: true}
2023-01-10 22:23:04 +01:00
- {label: "Datum/Startdatum", name: "date", widget: "datetime", required: true, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"}
2023-01-15 19:04:28 +00:00
- {label: "Enddatum", name: "enddate", widget: "datetime", required: false, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", default: ""}
2023-02-09 12:30:51 +01:00
- {label: "Ort", name: "location", widget: "string", required: false}
2022-03-19 10:21:45 +01:00
required: false
- name: "forms-index"
2023-01-10 22:23:04 +01:00
label: "Dokumente und Formulare"
file: "content/german/forms/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "wettbewerbe-index"
label: "Wettbewerbe"
file: "content/german/wettbewerbe/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-01-25 19:33:28 +01:00
- name: "begabte-index"
2022-06-18 17:32:32 +02:00
label: "Begabtenförderung"
2023-01-25 19:33:28 +01:00
file: "content/german/begabte/_index.md"
2022-06-18 17:32:32 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2022-06-05 12:01:55 +02:00
- name: "abiturienten"
label: "Abiturienten"
file: "content/german/abiturienten/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2022-06-05 12:01:55 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "cantorfora"
label: "Cantorfora"
file: "content/german/cantorfora/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2022-06-05 12:01:55 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
- {label: "Text", name: "body", widget: "markdown", required: false}
2023-01-10 22:23:04 +01:00
- name: "pages"
2023-02-08 15:49:01 +01:00
icon: "page-add"
2023-01-10 22:23:04 +01:00
label: "Zusatzseiten"
label_singular: "Zusatzseite"
folder: "content/german/pages"
create: true
editor:
preview: true
2023-01-14 17:31:54 +01:00
frame: true
2023-01-10 22:23:04 +01:00
slug: "{{slug}}"
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2023-01-10 22:23:04 +01:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Type", name: "type", widget: "hidden", default: "pages"}
- {label: "Layout", name: "layout", widget: "hidden", default: "single.html"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2023-01-10 22:23:04 +01:00
- label: "Aliase"
name: "aliases"
2023-01-14 17:31:54 +01:00
widget: "list"
fields:
- label: "Alias"
name: "alias"
widget: "string"
2023-01-10 22:23:04 +01:00
- {label: "Text", name: "body", widget: "markdown", required: false}
- name: "author"
icon: "user"
label: "Autoren"
label_singular: "Autoren"
folder: "content/german/author"
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/people'
public_folder: '/media/people'
2023-01-10 22:23:04 +01:00
fields:
2020-07-11 14:06:51 +02:00
- {label: "Name", name: "title", widget: "string"}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
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}
2023-02-06 22:56:00 +01:00
- {label: "Foto", name: "image", widget: "image", required: false, media_library: { config: { max_file_size: 2048000 } } }
- label: "Kontaktdaten"
label_singular: " "
2020-07-11 14:06:51 +02:00
name: "social"
2020-07-11 14:34:49 +02:00
widget: "list"
2023-01-26 21:51:35 +01:00
required: false
2020-07-11 14:06:51 +02:00
fields:
- {label: "Titel", name: "title", widget: "string", required: false}
- label: "Symbol"
name: "icon"
widget: "select"
options:
2023-02-08 15:49:01 +01:00
- { label: "YouTube", value: "si si-youtube" }
- { label: "Twitter", value: "si si-twitter" }
- { label: "Pinterest", value: "si si-pinterest" }
- { label: "GitHub", value: "si si-github" }
- { label: "Gitea", value: "si si-gitea" }
- { label: "Git", value: "si si-git" }
- { label: "Vimeo", value: "si si-vimeo" }
- { label: "Instagram", value: "si si-instagram" }
- { label: "Facebook", value: "si si-facebook" }
- { label: "Linkedin", value: "si si-linkedin" }
- { label: "E-Mail", value: "mdi mdi-at" }
- { label: "TikTok", value: "si si-tiktok" }
- { label: "Sonstige", value: "mdi mdi-share-variant-outline" }
2020-07-11 14:06:51 +02:00
- {label: "Link", name: "link", widget: "string"}
- {label: "Beschreibung", name: "body", widget: "markdown"}
2023-01-10 22:23:04 +01:00
- name: "blog"
icon: "news"
label: "Aktuelles"
2023-01-30 19:54:31 +01:00
description: Diese Artikel werden im Bereich "Aktuelles" auf der Schulhomepage angezeigt.
2022-03-20 18:45:18 +01:00
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:
2023-01-10 22:23:04 +01:00
preview: true
2023-01-14 17:31:54 +01:00
frame: true
2020-10-01 15:52:38 +02:00
media_folder: '/static/media/blog'
public_folder: '/media/blog'
2023-01-10 22:23:04 +01:00
view_groups:
2023-01-30 19:54:31 +01:00
- label: Entwurf
2023-01-10 22:23:04 +01:00
field: draft
2023-01-30 19:54:31 +01:00
- label: Kategorie
field: categories
2023-01-10 22:23:04 +01:00
sortable_fields:
fields: ['date', 'title']
default:
field: date
direction: Descending
2020-07-11 17:23:03 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Datum", name: "date", widget: "datetime", date_format: "dd/MM/yyyy", time_format: false}
2020-07-11 17:43:10 +02:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2020-07-11 17:35:50 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Beitragsbild", name: "image", widget: "image", default: "/media/blog/image.webp", media_library: { config: { max_file_size: 2048000 } } }
2020-07-17 20:01:45 +02:00
- label: "Beitragsautor"
2020-07-12 10:41:10 +02:00
name: "author"
widget: "relation"
2023-01-10 22:23:04 +01:00
collection: "author"
search_fields: ["title"]
value_field: "title"
2020-07-18 11:03:55 +02:00
- label: "Kategorien"
2020-07-18 11:13:18 +02:00
name: "categories"
2023-01-30 19:54:31 +01:00
widget: "relation"
required: true
collection: "config"
file: "categories-config"
value_field: "blog.*"
search_fields: ["blog.*"]
display_fields: ["blog.*"]
multiple: true
options_length: 50
2020-07-18 11:13:18 +02:00
- label: "Tags"
name: "tags"
widget: "list"
required: false
2023-01-14 17:31:54 +01:00
fields:
- label: "Tag"
name: "tag"
widget: "string"
2020-07-11 17:23:03 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "post"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2020-07-11 17:25:03 +02:00
- {label: "Text", name: "body", widget: "markdown"}
2023-01-10 22:23:04 +01:00
- name: "forms"
icon: "document"
label: "Dokumente"
label_singular: "Dokument"
2022-03-20 18:45:18 +01:00
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"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2020-07-17 20:01:45 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-01-11 11:32:19 +01:00
- label: "Dateien"
name: "files"
widget: "list"
required: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Datei", name: "link", widget: "file"}
2020-07-17 20:01:45 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "forms"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2020-07-17 20:01:45 +02:00
- {label: "Text", name: "body", widget: "markdown"}
2023-01-10 22:23:04 +01:00
- name: "cantorpreis"
icon: "award"
label: "Cantor-Preisträger"
label_singular: "Cantor-Preisträger"
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"}
2023-01-30 19:54:31 +01:00
sortable_fields:
fields: ['title', 'name']
default:
field: title
direction: Descending
summary: "{{title}} - {{name}}"
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}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2020-09-07 19:31:12 +02:00
- {label: "Beschreibung", name: "description", widget: "text", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", default: "/media/cantorpreis/image.webp", required: false, media_library: { config: { max_file_size: 2048000 } } }
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"
2023-01-26 21:51:35 +01:00
required: false
2020-07-17 20:01:45 +02:00
fields:
2023-01-14 17:31:54 +01:00
- {label: "Bezeichnung", name: "name", widget: "string"}
2023-01-26 21:51:35 +01:00
- label: "Symbol"
name: "icon"
widget: "select"
options:
2023-02-08 15:49:01 +01:00
- { label: "YouTube", value: "si si-youtube" }
- { label: "Twitter", value: "si si-twitter" }
- { label: "Pinterest", value: "si si-pinterest" }
- { label: "GitHub", value: "si si-github" }
- { label: "Gitea", value: "si si-gitea" }
- { label: "Git", value: "si si-git" }
- { label: "Vimeo", value: "si si-vimeo" }
- { label: "Instagram", value: "si si-instagram" }
- { label: "Facebook", value: "si si-facebook" }
- { label: "Linkedin", value: "si si-linkedin" }
- { label: "E-Mail", value: "mdi mdi-at" }
- { label: "TikTok", value: "si si-tiktok" }
- { label: "Sonstige", value: "mdi mdi-share-variant-outline" }
2020-07-17 20:01:45 +02:00
- {label: "Link", name: "link", widget: "string"}
- {label: "Type", name: "type", widget: "hidden", default: "cantorpreis"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
- {label: "Text", name: "body", widget: "markdown", required: false}
2023-01-10 22:23:04 +01:00
- name: "ganztagsangebote"
icon: "group"
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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2020-07-17 20:01:45 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", default: "/media/ganztagsangebote/image.webp", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-30 19:54:31 +01:00
- label: "Themenbereich"
name: "category"
widget: "relation"
required: true
collection: "config"
file: "categories-config"
value_field: "ganztag.*"
search_fields: ["ganztag.*"]
display_fields: ["ganztag.*"]
options_length: 50
2022-08-29 18:26:39 +02:00
- {label: "Dauer", name: "duration", widget: "string"}
- {label: "Tag/Stunden", name: "weekly", widget: "string"}
2020-07-17 20:01:45 +02:00
- {label: "Klassenstufen", name: "class", widget: "string"}
2022-08-29 18:26:39 +02:00
- {label: "Raum", name: "room", 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"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2020-07-17 20:01:45 +02:00
- {label: "Text", name: "body", widget: "markdown"}
2023-01-10 22:23:04 +01:00
- name: "wettbewerbe"
icon: "trophy"
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'
2022-03-27 12:25:49 +02:00
public_folder: '/media/contests'
2020-07-17 20:01:45 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2020-07-17 20:01:45 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", default: "/media/contests/image.webp", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-30 19:54:31 +01:00
- label: "Fach"
name: "category"
widget: "relation"
required: true
collection: "config"
file: "categories-config"
value_field: "contests.*"
search_fields: ["contests.*"]
display_fields: ["contests.*"]
options_length: 50
2020-07-17 20:01:45 +02:00
- {label: "Klassenstufen", name: "class", widget: "string"}
2022-06-18 17:32:32 +02:00
- {label: "Website", name: "web_url", widget: "string", required: false}
2020-07-17 20:01:45 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "wettbewerbe"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2020-07-17 20:01:45 +02:00
- {label: "Text", name: "body", widget: "markdown"}
2023-01-25 19:33:28 +01:00
- name: "begabte"
2023-02-08 15:49:01 +01:00
icon: "pi"
2022-06-18 17:32:32 +02:00
label: "Begabtenförderung"
label_singular: "Begabtenförderung"
2023-01-25 19:33:28 +01:00
folder: "content/german/begabte"
filter: {field: "type", value: "begabte"}
2022-06-18 17:32:32 +02:00
create: true
editor:
preview: false
2023-01-25 19:33:28 +01:00
media_folder: '/static/media/begabte'
public_folder: '/media/begabte'
2022-06-18 17:32:32 +02:00
fields:
- {label: "Titel", name: "title", widget: "string"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2022-06-18 17:32:32 +02:00
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", default: "/media/begabte/image.webp", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-30 19:54:31 +01:00
- label: "Fach"
name: "category"
widget: "relation"
required: true
collection: "config"
file: "categories-config"
value_field: "begabte.*"
search_fields: ["begabte.*"]
display_fields: ["begabte.*"]
options_length: 50
2022-06-18 17:32:32 +02:00
- {label: "Klassenstufen", name: "class", widget: "string"}
- {label: "Website", name: "web_url", widget: "string", required: false}
2023-01-25 19:33:28 +01:00
- {label: "Type", name: "type", widget: "hidden", default: "begabte"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: false, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2022-06-18 17:32:32 +02:00
- {label: "Text", name: "body", widget: "markdown"}
2020-08-30 22:25:22 +02:00
- name: "schulchronik"
2023-02-08 15:49:01 +01:00
icon: "pillar"
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-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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2020-08-30 22:25:22 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "schulchronik"}
2023-01-10 22:23:04 +01:00
- {label: "Einleitung", name: "pretext", hint: "Jahreszahltext", widget: "markdown", required: false}
- label: "Kreative Haufen"
name: "topics"
widget: "list"
fields:
- {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Element-ID", hint: "Kleingeschriebene Bezeichnung ohne Leer- und Sonderzeichen, darf sich nicht innerhalb einer Seite doppeln", name: "id", widget: "string", required: true}
- {label: "Inhalt", name: "content", widget: "markdown", required: true}
required: false
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: true, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
- {label: "Text", name: "body", widget: "markdown", required: false, default: ""}
2020-08-30 22:25:22 +02:00
- name: "abiturienten"
2023-01-10 22:23:04 +01:00
icon: "graduation-cap"
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"}
2023-01-10 22:23:04 +01:00
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
2023-01-14 17:31:54 +01:00
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
2023-02-06 22:56:00 +01:00
- {label: "Bild", name: "image", widget: "image", default: "/media/abiturienten/image.webp", required: false, media_library: { config: { max_file_size: 2048000 } } }
2023-01-10 22:23:04 +01:00
- {label: "Mehrere Bilder", name: "multiple", widget: "boolean", default: false, required: false}
2020-08-30 22:25:22 +02:00
- {label: "Type", name: "type", widget: "hidden", default: "abiturienten"}
2023-01-26 21:51:35 +01:00
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: true, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "cantorfora"
icon: "presentation"
label: "Cantorfora"
label_singular: "Cantorforum"
folder: "content/german/cantorfora"
filter: {field: "type", value: "cantorfora"}
create: true
slug: "{{slug}}"
editor:
preview: true
frame: true
media_folder: '/static/media/cantorfora'
public_folder: '/media/cantorfora'
view_groups:
- label: Drafts
field: draft
sortable_fields:
fields: ['index', 'title']
default:
field: index
direction: Ascending
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Laufindex", name: "index", widget: "number", value_type: 'int', min: 1, step: 1, required: true, hint: "Nummer des Cantorforums"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
2023-02-06 22:56:00 +01:00
- {label: "Beitragsbild", name: "image", widget: "image", default: "/media/image.webp", media_library: { config: { max_file_size: 2048000 } } }
2023-01-26 21:51:35 +01:00
- {label: "Type", name: "type", widget: "hidden", default: "cantorfora"}
- {label: "Gallerie-Komponente", name: "gallery", widget: "boolean", default: true, required: false, hint: "Benötigt für Gallerie bzw. Bildeinbettung"}
2020-08-30 22:25:22 +02:00
- {label: "Text", name: "body", widget: "markdown"}