cms + homepage updates
This commit is contained in:
parent
df60474e2d
commit
f0cb1f6cec
@ -62,19 +62,19 @@ success_banner:
|
||||
feature_item:
|
||||
- name : "Mathematikolympiade"
|
||||
img: true
|
||||
icon : "/media/home/mo.png"
|
||||
image : "/media/home/mo.png"
|
||||
content : "In der Landesmathematikolympiade 2022 wurden: \n * **2 von 8 ersten Preisen** \n * **5 von 13 zweiten Preisen** \n * **9 von 19 dritten Preisen** \n * **6 von 28 Anerkennungspreisen** \n \nan Schüler unerer Schule verliehen."
|
||||
- name : "Physikolympiade"
|
||||
img: true
|
||||
icon : "/media/home/po.png"
|
||||
image : "/media/home/po.png"
|
||||
content : "In der Landesphysikolympiade 2022 wurden: \n * **2 von 5 ersten Preisen** \n * **3 von 8 zweiten Preisen** \n * **1 von 11 dritten Preisen** \n * **1 von 15 Anerkennungspreisen** \n \nan Schüler unserer Schule verliehen."
|
||||
- name : "Chemieolympiade"
|
||||
img: true
|
||||
icon : "/media/home/icho.png"
|
||||
image : "/media/home/icho.png"
|
||||
content : "Ein Schüler unserer Schule bekam die Bronzemedaille in der Internationalen Chemieolympiade 2020 verliehen. Ein weiterer Schüler unserer Schule wurde für die Nationalmannschaft für die IChO 2021 ausgewählt."
|
||||
- name : "Chemie - die stimmt!"
|
||||
img: true
|
||||
icon : "/media/home/cds.png"
|
||||
image : "/media/home/cds.png"
|
||||
content : "Ein Schüler unserer Schule bekam in der Endrunde von \"Chemie - die stimmt!\" 2021 den ersten Platz in drei Kategorien."
|
||||
- name : "Und viel mehr ..."
|
||||
icon : "ti-medall"
|
||||
@ -103,8 +103,8 @@ ganztagsangebote:
|
||||
|
||||
cta:
|
||||
enable : true
|
||||
title : "Dann geht es hier direkt zur Anmeldung!"
|
||||
subtitle : "Interessiert ?"
|
||||
subtitle : "Dann geht es hier direkt zur Anmeldung!"
|
||||
title : "Interessiert ?"
|
||||
button:
|
||||
enable : true
|
||||
label : "Anmeldeantrag stellen"
|
||||
|
@ -72,7 +72,7 @@
|
||||
{{ range .feature_item }}
|
||||
<div class="col-sm-6 col-xl-5 mb-xl-5 mb-lg-3 mb-4 text-sm-left">
|
||||
{{ if .img }}
|
||||
<img src="{{ .icon }}" class="mb-xl-4 mb-lg-3 mb-4 feature-icon"></img>
|
||||
<img src="{{ .image }}" class="mb-xl-4 mb-lg-3 mb-4 feature-icon"></img>
|
||||
{{ else }}
|
||||
<i class="{{ .icon }} mb-xl-4 mb-lg-3 mb-4 feature-icon"></i>
|
||||
{{ end }}
|
||||
@ -134,8 +134,8 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center">
|
||||
<h2 class="text-white font-secondary mb-0">{{ .subtitle | markdownify }}</h2>
|
||||
<h5 class="section-title text-white">{{ .title | markdownify }}</h5>
|
||||
<h2 class="text-white font-secondary mb-0">{{ .title | markdownify }}</h2>
|
||||
<h5 class="section-title text-white">{{ .subtitle | markdownify }}</h5>
|
||||
{{ if .button.enable }}
|
||||
{{ with .button }}
|
||||
<a href="{{ .link | absLangURL }}" class="btn btn-secondary text-uppercase">{{ .label }}</a>
|
||||
|
@ -32,7 +32,7 @@ collections:
|
||||
- name: "homepage-config"
|
||||
label: "Startseitenkonfiguration"
|
||||
file: "data/de/homepage.yml"
|
||||
media_folder: "static/media/home"
|
||||
media_folder: "/static/media/home"
|
||||
public_folder: "media/home"
|
||||
format: yml
|
||||
fields:
|
||||
@ -68,8 +68,82 @@ collections:
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
|
||||
|
||||
- {label: "Bild", name: "image", widget: "string"}
|
||||
- label: "Elemente"
|
||||
name: "feature_item"
|
||||
widget: "list"
|
||||
fields:
|
||||
- {label: "Bezeichnung", name: "name", widget: "string"}
|
||||
- {label: "Bild verwenden", name: "img", widget: "boolean"}
|
||||
- {label: "Symbol", name: "icon", widget: "string"}
|
||||
- {label: "Bild", name: "image", widget: "image"}
|
||||
- {label: "Inhalt", name: "content", widget: "markdown"}
|
||||
- label: "\"Über\"-Seite"
|
||||
name: "about"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Titel", name: "title", widget: "string"}
|
||||
- {label: "Inhalt", name: "content", widget: "markdown"}
|
||||
- label: "Button"
|
||||
name: "button"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Bezeichnung", name: "label", widget: "string"}
|
||||
- {label: "Link", name: "link", widget: "string"}
|
||||
- label: "Ganztagsangebote"
|
||||
name: "ganztagsangebote"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Titel", name: "title", widget: "string"}
|
||||
- label: "Aktionsbutton"
|
||||
name: "cta"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Titel", name: "title", widget: "string"}
|
||||
- {label: "Untertitel", name: "subtitle", widget: "string"}
|
||||
- label: "Button"
|
||||
name: "button"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Bezeichnung", name: "label", widget: "string"}
|
||||
- {label: "Link", name: "link", widget: "string"}
|
||||
- label: "Informationen"
|
||||
name: "info"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Hintergrundbild", name: "bg_image", widget: "image"}
|
||||
- {label: "Titel", name: "title", widget: "string"}
|
||||
- {label: "Inhalt", name: "content", widget: "text"}
|
||||
- {label: "Video-Link", name: "video_link", widget: "string"}
|
||||
- label: "Termine"
|
||||
name: "termine"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- {label: "Titel", name: "title", widget: "string"}
|
||||
- label: "Zahlen"
|
||||
name: "zahlen"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "boolean"}
|
||||
- label: "Elemente"
|
||||
name: "zahl_element"
|
||||
widget: "list"
|
||||
fields:
|
||||
- {label: "Bezeichnung", name: "name", widget: "string"}
|
||||
- {label: "Zahl", name: "count", widget: "number"}
|
||||
- label: "Blog"
|
||||
name: "blog"
|
||||
widget: "object"
|
||||
fields:
|
||||
- {label: "Aktivieren", name: "enable", widget: "string"}
|
||||
- {label: "Titel", name: "title", widget: "string"}
|
||||
- name: "hugo-config"
|
||||
label: "Website-Konfiguration"
|
||||
file: "config.toml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user