Layout-Umbauten:

- Standartisierung der Karten-/Template-Elemente (schließt #224)
- Verbesserung einiger Ansichten
- "schrumpfung"
- Code-Cleanups
- Trabsliteration Kategorien
u. v. m.
This commit is contained in:
Denys Konovalov 2023-04-03 21:45:44 +02:00
parent 9a1f8caceb
commit 799acd03a9
99 changed files with 521 additions and 812 deletions

@ -380,11 +380,19 @@ textarea.form-control {
blockquote {
border-left: 3px solid $primary-color;
border-top: 1px solid $primary-color;
border-bottom: 1px solid $primary-color;
padding: 20px;
background-color: $light;
p {
margin-bottom: 0;
color: $text-color;
font-style: italic !important;
}
* {
margin-bottom: 0 !important;
}
}

@ -1,6 +1,6 @@
baseURL: https://cantorgymnasium.de/
title: Georg-Cantor-Gymnasium
paginate: 6
paginate: 8
summaryLength: "10"
defaultContentLanguageInSubdir: false
defaultContentLanguage: de
@ -21,7 +21,7 @@ params:
address: Georg-Cantor-Gymnasium <br> Torstraße 13 <br> 06110 Halle (Saale)
top_header: true
email: schulleitung@cantor-gymnasium.de
email_pretty: schulleitung<i class='mdi mdi-at'></i>cantor-gymnasium.de
email_label: schulleitung<i class='mdi mdi-at'></i>cantor-gymnasium.de
description: Das Georg-Cantor-Gymnasium - eine
mathematisch-naturwissenschaftliche Spezialschule in Halle (Saale).
twitter: cantor_news

@ -3,7 +3,7 @@ title: Anmeldeformular
draft: false
bg_image: media/backgrounds/page-title.webp
email: aufnahme@cantor-gymnasium.de
email_pretty: aufnahme<i class="mdi mdi-at"></i>cantor-gymnasium.de
email_label: aufnahme<i class="mdi mdi-at"></i>cantor-gymnasium.de
description:
---
##### Speicherung personenbezogener Daten

@ -34,8 +34,9 @@ elements:
Übungsmöglichkeiten für die Aufnahmeprüfung finden Sie [hier](/forms/aufnahmeklausur).
- title: Ergebnisse
content: >
#### Ergebnisse
Bis April werden ihnen die Ergebnisse der Aufnahmeprüfung schriftlich
mitgeteilt.
---

@ -2,5 +2,6 @@
title: Chiamaka Michelle Okoro
bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/people/gcg.webp
---
Schülerin (Abiturjahrgang 2024)

@ -2,5 +2,6 @@
title: Erik Zschoche
bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/people/gcg.webp
---
Schüler (Abiturjahrgang 2023)

@ -4,3 +4,4 @@ bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/people/gcg.webp
---
Schülerin

@ -4,3 +4,4 @@ bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/people/gcg.webp
---
Lehrerin für Musik und Geschichte

@ -3,10 +3,9 @@ title: Frühstudium
draft: false
bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/begabte/image.webp
category: Naturwissenschaften
image: /media/begabte/fruehstudium.webp
class: 10 - 12 Klasse
web_url: null
web_url: https://www.marketing.uni-halle.de/schulbuero/fruehstudium/
type: begabte
gallery: false
---

@ -4,7 +4,6 @@ draft: false
bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/begabte/image.webp
category: fächerübergreifend
class: 5 - 12 Klasse
web_url: null
type: begabte

@ -4,7 +4,6 @@ draft: false
bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/begabte/sfz.webp
category: Naturwissenschaften
class: 5 - 12 Klasse
web_url: https://sfz-halle.de/
type: begabte

@ -4,7 +4,6 @@ draft: false
bg_image: /media/backgrounds/page-title.webp
description: ""
image: /media/begabte/image.webp
category: Mathematik
class: 5 - 12 Klasse
web_url: null
type: begabte

@ -62,7 +62,9 @@ Nach den Landeswettbewerben im März und April findet das 58. Bundesfinale vom
{{< gallery dir="/media/blog/2023/jufo_landeswettbewerb/" />}}_Bild 1 (Foto Marco Warmuth):_ ***Inga Lovis Endtmann (17), Georg-Cantor-Gymnasium Halle (Saale)*** _Landessiegerin Jugend forscht: Geo-/Raumwissenschaft_
{{< gallery dir="/media/blog/2023/jufo_landeswettbewerb/" />}}
_Bild 1 (Foto Marco Warmuth):_ ***Inga Lovis Endtmann (17), Georg-Cantor-Gymnasium Halle (Saale)*** _Landessiegerin Jugend forscht: Geo-/Raumwissenschaft_
_Projekt: Rekonstruktion eines autochthonen Tertiärwaldes_

@ -51,183 +51,91 @@ Dieses Gedicht ist inspiriert durch das Theaterstück „Die Kinder des Monsieur
Das Theaterstück handelt von Schülern einer Eliteschule, die an dem enormen Leistungsdruck, der auf ihnen liegt, zerbrechen. Doch dann beginnt ein neuer Lehrer namens Clement Mathieu an der Schule zu arbeiten und bringt Licht in das Leben der Kinder. Dieses Gedicht ist aus der Perspektive der Schüler dieser Schule geschrieben und soll Einblick in die Gefühlswelt von ihnen bieten.
> _Flieg und taumle kleiner Flieger_
> _Trägst die Lasten auf den Flügeln,_
> _vergangener Tage stille Hoffnung._
> _Waren da, doch kehren nie wieder._
>  
> &nbsp;
> Klein der Mut und groß die Angst,
> wenn du nach Erlösung bangst.
> Und das Feuer wird zur Glut.
> Wird denn wirklich etwas gut?
> Gibt es denn ein gutes Ende?
> Fragst du dich, läufst gegen Wände.
> Wände, gebaut aus kaltem Stein.
> Zweifel kann dein Ende sein.
> Und doch ist dort noch immer Glut.
> Gibt dir Stärke, gibt dir Mut.
>  
> &nbsp;
> _Flieg und taumle kleiner Flieger._
> _Wünsche tragen deine Schwingen_
> _über Berge, über Täler._
> _Dass du niemals fällst hin nieder._
>  
> Freiheit ist das höchste Gut.
> Sie kann nicht gefangen werden.
> Jeder will sie, doch wer hat sie?
> Ist so selten hier auf Erden,
> weil wir uns den Atem rauben.
> Eingeschränkt ist unser Glauben.
> Wir stumpfen ab und gehen ein.
> Ich weiß es könnte anders sein.
>  
> &nbsp;
> _Flieg und taumle kleiner Flieger._
> _Von Sorgen schwer sind deine Flügel._
> _Um den Schlaf gebrachte Nächte_
> _schaffen Looser, keine Sieger._
>  
> &nbsp;
> Wie ein Stein auf deinem Körper
> drückend schwer auf deiner Brust,
> sind diese verfluchten Ängste,
> vor dem, was du schaffen musst.
> Lässt dich zittern, lässt dich beben.
> Es verdirbt den Spaß am Leben.
> Macht dich unsicher und schwach,
> doch halt durch und gib nicht nach.
> Wenn die Sonne mal nicht scheint
> und es niemand gut mehr meint,
> gib nicht auf, ich glaub an dich.
> Lass dich selber nicht im Stich.
>  
> &nbsp;
> _Flieg und taumle kleiner Flieger_
> _gestützt durch Liebe aus den Herzen_
> _wunder Seelen alter Kinder._
> _Liebende Herzen, kleiner Krieger._
>  
> &nbsp;
> Der Kampf mit den inneren Dämonen
> wird wohl niemand ganz verschonen,
> denn sie sind so gnadenlos,
> sind so klein, doch wirken groß.
> Doch manchmal reicht ein gutes Wort,
> dann sind sie weg, sind einfach fort.
> Das Wort setzt Liebe in dein Herz.
> Ist viel stärker als der Schmerz.
> Lässt dich hoffen, lässt dich träumen.
> Und du willst nichts mehr versäumen.
> Lässt dich fliegen, wie den Flieger
> und der Kämpfer wird zum Sieger.
> Drum schenke doch ein gutes Wort,
> und jage die Dämonen fort.
>  
> &nbsp;
> _Flieg und taumle kleiner Flieger._
> _Hoffnung, Wünsche, Sorgen, Liebe,_
> _Herzensglück und tiefste Trauer_
> _trag nun fort und komm nicht wieder._
>  
> &nbsp;
> _Meine Seele, meine Träume,_
> _frei geworden nur durch dich._
> _Wirst du fallen, wirst du fliegen,_
> _fliegen, taumeln, so wie ich?_
> _Trage diese Zeilen weiter._
> _Trage sie ins Himmelszelt._
> _Trag die Nachricht dieser Zeilen_
> _in die ganze weite Welt._
> _Ja, ich lebe, ja, ich träume,_
> _bin nicht perfekt und stolz darauf._
> _Und ich werd kämpfen, ich bin stärker._
> _Glaub an mich, verlass dich drauf._
> _Und ich werd die Sonne finden_
> _und dann wärmt sie meine Glieder._
> _Und auch dir wird sie dann scheinen._
> _Flieg und taumle kleiner Flieger._

@ -0,0 +1,5 @@
---
_build:
render: never
list: never
---

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/band.webp
category: Musik
duration: flexibel
weekly: Mittwoch, 9. Stunde
schedule: Mittwoch, 9. Stunde
class: alle Klassenstufen
room: 212
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -6,7 +6,7 @@ description: ""
image: /media/ganztagsangebote/biologie.webp
category: Naturwissenschaften
duration: 1. Stunde (14-tägig)
weekly: Montag, 13:20 bis 14:50 Uhr
schedule: Montag, 13:20 bis 14:50 Uhr
class: 5. Klasse
room: "108"
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/bw.webp
category: Gesellschaft
duration: nach Vereinbarung
weekly: ab November
schedule: ab November
class: alle Klassenstufen
room: Bibliothek
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -6,7 +6,7 @@ description: ""
image: /media/ganztagsangebote/cantortechnik.webp
category: Technik
duration: 2 Stunden
weekly: "Donnerstag, 8.-9. Stunde "
schedule: "Donnerstag, 8.-9. Stunde "
class: alle Klassenstufen
room: "405"
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/chor.webp
category: Musik
duration: 45 Minuten
weekly: Mittwoch, 8. / 9. Stunde
schedule: Mittwoch, 8. / 9. Stunde
class: alle Klassenstufen
room: Aula
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -6,7 +6,7 @@ description: "Zurück in die Zukunft: Unser GCG im Wandel der Zeit"
image: /media/ganztagsangebote/chronik.webp
category: Gesellschaft
duration: 2. Stunden
weekly: Donnerstag, 9. - 10. Stunde
schedule: Donnerstag, 9. - 10. Stunde
class: 8. - 12. Klasse
room: "105"
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/keramik.webp
category: Kunst
duration: 2. Stunden
weekly: Dienstag, 7./8. Stunde
schedule: Dienstag, 7./8. Stunde
class: 5. - 8. Klasse
room: Keller
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/kb.webp
category: Musik
duration: 1. Stunde
weekly: Mittwoch, 7./8. Stunde
schedule: Mittwoch, 7./8. Stunde
class: alle Klassenstufen
room: 212
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/kunst.webp
category: Kunst
duration: nach Vereinbarung
weekly: Freitag, ab 7. Stunde
schedule: Freitag, ab 7. Stunde
class: 5. - 7. Klasse
room: 104/Keller
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/lego.webp
category: Technik
duration: nach Vereinbarung
weekly: Mittwoch, 8. Stunde
schedule: Mittwoch, 8. Stunde
class: 6. Klasse
room: DG
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -6,7 +6,7 @@ description: Förderung für begabte Schülerinnen und Schüler in Mathematik.
image: /media/ganztagsangebote/mathematik.webp
category: Mathematik
duration: 1. Stunde
weekly: Montag/Dienstag, 7. Stunde
schedule: Montag/Dienstag, 7. Stunde
class: 5./6. Klasse
room: "307"
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -6,7 +6,7 @@ description: Begabtenförderung in Biologie, Chemie und Physik
image: /media/ganztagsangebote/nawigator.webp
category: Naturwissenschaften
duration: nach Vereinbarung
weekly: ab November
schedule: ab November
class: alle Klassenstufen
room: Schülerforschungszentrum
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/pen-paper.webp
category: Gesellschaft
duration: nach Vereinbarung
weekly: siehe Tabelle
schedule: siehe Tabelle
class: alle Klassenstufen
room: siehe Tabelle
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/schach.webp
category: Naturwissenschaften
duration: nach Vereinbarung
weekly: ab November
schedule: ab November
class: alle Klassenstufen
room: "104"
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/sz.webp
category: Gesellschaft
duration: nach Vereinbarung
weekly: nach Vereinbarung
schedule: nach Vereinbarung
class: alle Klassenstufen
room: nach Vereinbarung
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/sport.webp
category: Sport
duration: 1. Stunde
weekly: Freitag, 7. Stunde
schedule: Freitag, 7. Stunde
class: 5. - 6. Klasse
room: TTO
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -6,7 +6,7 @@ description: ""
image: /media/ganztagsangebote/theater.webp
category: Gesellschaft
duration: 2. Stunden
weekly: Dienstag/Freitag 7./8.-9. Stunde
schedule: Dienstag/Freitag 7./8.-9. Stunde
class: alle Klassenstufen
room: Aula
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/volleyball.webp
category: Sport
duration: 2. Stunden
weekly: Freitag, 8. - 9. Stunde
schedule: Freitag, 8. - 9. Stunde
class: 6. - 10. Klasse
room: TTO
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -5,7 +5,7 @@ bg_image: /media/backgrounds/page-title.webp
image: /media/ganztagsangebote/wasserball.webp
category: Sport
duration: 2. Stunden
weekly: Dienstag, 17.00 - 18.30 Uhr
schedule: Dienstag, 17.00 - 18.30 Uhr
class: 5. - 8. Klasse
room: Schwimmhalle Neustadt
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

@ -0,0 +1,5 @@
---
_build:
render: never
list: never
---

@ -1,6 +1,5 @@
---
title: Superhaufen
draft: false
bg_image: media/backgrounds/page-title.webp
description: null
_build:
render: never
list: never
---

@ -2,7 +2,7 @@
title: "Mannschaftswettbewerbe der Spezialschulen "
draft: "false"
bg_image: /media/backgrounds/page-title.webp
image: /media/image.webp
image: /media/contests/image.webp
category: MINT
class: 9. - 11. Klasse
web_url: https://cantorgymnasium.de/

@ -0,0 +1,2 @@
transliterations:
schulerrat: Schülerrat

@ -55,7 +55,7 @@
- id: duration
translation: Dauer
- id: weekly
- id: schedule
translation: Zeit
- id: class

@ -1,6 +0,0 @@
<div class="card border-primary rounded-0 hover-shadow mb-4">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<h4 class="card-title mb-0"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
</div>
</div>

@ -1,8 +1,7 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{- partial "head.html" . -}}
<body>
{{- partial "head.html" . -}}
<body>
{{- partial "preloader.html" . -}}
{{- partial "header.html" . -}}
{{ if not .IsHome }}
@ -10,6 +9,5 @@
{{ end }}
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}}
</body>
</body>
</html>

@ -1,14 +0,0 @@
<div class="card border-primary rounded-0 hover-shadow mb-5">
{{ if .Params.Image }}
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
{{ else }}
<img class="card-img-top rounded-0" src="/media/begabte/image.webp" alt="{{ .Title }}">
{{ end }}
<div class="card-body">
<ul class="list-inline">
<li class="list-inline-item"><p><i class="mdi mdi-bookmark-outline"></i> {{ .Params.Category }}</p></li>
</ul>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase">{{ i18n "read_more"}}</a>
</div>
</div>

@ -1,6 +0,0 @@
<div class="card rounded-0 hover-shadow mb-4 border-primary">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<h4 class="card-title mb-0"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
</div>
</div>

@ -1,7 +0,0 @@
<div class="card border-0 rounded-0 hover-shadow mb-5">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p>{{ .Params.Name }}</p>
</div>
</div>

@ -1,6 +1,7 @@
<div class="card border-primary rounded-0 hover-shadow">
<div class="card border-primary rounded-0 hover-shadow mb-4">
<div class="card-body">
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "show_more"}}</a>
</div>
</div>

@ -0,0 +1,7 @@
<div class="card border-primary rounded-0 hover-shadow mb-4">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}" alt="{{ .Title }}"></a>
<div class="card-body">
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase" data-pagefind-ignore>{{ i18n "read_more"}}</a>
</div>
</div>

@ -0,0 +1,8 @@
<div class="card border-primary rounded-0 hover-shadow mb-4">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}"></a>
<div class="card-body">
<div class="row col-12 mb-3"><i class="mdi mdi-bookmark-outline mr-2"></i>{{ .Params.category }}</div>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase" data-pagefind-ignore>{{ i18n "read_more"}}</a>
</div>
</div>

@ -1,7 +0,0 @@
<div class="card border-primary rounded-0 hover-shadow mb-5">
<div class="card-body">
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm">{{ i18n "show_more"}}</a>
</div>
</div>

@ -0,0 +1,15 @@
<div class="card border-primary rounded-0 hover-shadow mb-4">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}" alt="{{ .Title }}"></a>
<div class="card-body">
<div class="row mb-2">
<div class="col-6"><i class="mdi mdi-calendar-today mr-2"></i>{{ time.Format "02. Jan 2006" .PublishDate }}</div>
<div class="col-6">
<i class="mdi mdi-fountain-pen-tip mr-2"></i>
<a href="{{ `author` | relLangURL }}/{{ .Params.author | urlize }}">{{ .Params.author | title }}</a>
</div>
</div>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p class="card-text">{{ .Summary | truncate 100 }}</p>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "read_more" }}</a>
</div>
</div>

@ -1,7 +0,0 @@
<li class="d-md-table mb-4 w-100 border-bottom hover-shadow p-3">
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
<a href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</a>
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
</div>
<div class="d-md-table-cell text-right pr-0 pr-md-4" data-pagefind-ignore><a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a></div>
</li>

@ -0,0 +1,11 @@
<div class="card border-primary rounded-0 hover-shadow mb-4">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}" alt="{{ .Title }}"></a>
<div class="card-body">
<div class="container">
<div class="row mb-2"><i class="mdi mdi-calendar-today mr-2"></i>{{ .Params.schedule }}</div>
<div class="row mb-2"><i class="mdi mdi-crowd mr-2"></i>{{ .Params.class }}</div>
</div>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "show_more"}}</a>
</div>
</div>

@ -1,12 +0,0 @@
<div class="card border-primary rounded-0 hover-shadow mb-5">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<ul class="list-inline">
<li class="list-inline-item"><p><i class="mdi mdi-calendar-today"></i> {{ .Params.Weekly }}</p></li>
<br>
<li class="list-inline-item"><p><i class="mdi mdi-crowd"></i> {{ .Params.Class }}</p></li>
</ul>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "show_more"}}</a>
</div>
</div>

@ -1,29 +1,14 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-lg-8 order-2 order-lg-1">
<div class="row">
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<div class="col-sm-6 mb-5">
<article
class="card rounded-0 border-primary hover-shadow">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<ul class="list-inline mb-3">
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-calendar-today"></i>
{{ time.Format "02. Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-fountain-pen-tip"></i> <a
href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a>
</li>
</ul>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<p class="card-text">{{ .Summary | truncate 100 }}</p>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm">{{ i18n "read_more" }}</a>
</div>
</article>
<div class="col-sm-6">
{{ .Render "card" }}
</div>
{{ end }}
<div class="col-12 mt-4">

@ -1,15 +0,0 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}

@ -1,13 +0,0 @@
<article class="card rounded-0 border-primary hover-shadow">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<ul class="list-inline mb-3">
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-calendar-today"></i> {{ time.Format "02. Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-3 ml-0"><i class="mdi mdi-fountain-pen-tip"></i> <a
href="{{ `author` | relLangURL }}/{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
</ul>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<p class="card-text">{{ .Summary | truncate 100 }}</p>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "read_more" }}</a>
</div>
</article>

@ -6,24 +6,28 @@
<div class="col-lg-8 order-2 order-lg-1">
<div class="row">
<div class="col-12 mb-4">
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
<img src="{{ .Params.image | relURL }}" alt="{{ .Title }}" class="img-fluid w-100">
</div>
<div class="col-12">
<ul class="list-inline">
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "posted_by" }}:</span>
<a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.Author | title }}</a></li>
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "date" }}:
</span>{{ time.Format "02. Jan 2006" .PublishDate }}</li>
<li class="list-inline-item mr-4 mb-3 mb-md-0 text-light"><span class="font-weight-bold mr-2">{{ i18n "category" }}:
</span>{{ range $index, $elements:= .Params.Categories }}<a
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}"> {{ if ne $index 0 }}, {{ end }}
{{ . | title }}</a> {{ end}}</li>
</ul>
<div class="row mb-3">
<div class="col-6 mb-md-0 text-light">
<span class="font-weight-bold mr-1">{{ i18n "posted_by" }}:</span>
<a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}">{{ .Params.author | title }}</a>
</div>
<div class="col-6 mb-3 mb-md-0 text-light">
<span class="font-weight-bold mr-1">{{ i18n "date" }}:</span>
{{ time.Format "02. Jan 2006" .PublishDate }}
</div>
</div>
<div class="row">
<div class="col-12 mb-md-0 text-light">
<span class="font-weight-bold mr-1">{{ i18n "category" }}:</span>
{{ range $index, $elements:= .Params.categories }}
{{ if ne $index 0 }}, {{ end }}
<a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title }}</a>
{{ end }}
</div>
</div>
</div>
<div class="col-12 my-4">
<div class="border-bottom"></div>

@ -1,10 +0,0 @@
<div class="card border-primary rounded-0 hover-shadow mb-5">
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="card-body">
<ul class="list-inline">
<li class="list-inline-item"><p><i class="mdi mdi-bookmark-outline"></i> {{ .Params.Category }}</p></li>
</ul>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title | truncate 20 }}</a></h4>
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase" data-pagefind-ignore>{{ i18n "read_more"}}</a>
</div>
</div>

@ -3,9 +3,9 @@
<section class="section-sm">
<div class="container">
<div class="row">
{{ range .Data.Pages }}
{{ range .Pages }}
<div class="col-lg-4 col-sm-6">
{{ .Render "abiturienten" }}
{{ .Render "card-btn" }}
</div>
{{ end }}
</div>

@ -3,19 +3,14 @@
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
{{ if .Params.multiple }}
{{ else }}
<div class="col-12 mb-4">
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
<img src="{{ .Params.image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
</div>
{{ end }}
<div class="content">
<div class="col-12 content">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}

@ -2,11 +2,11 @@
{{ $data := index .Site.Data .Site.Language.Lang }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12">
{{ with .Params.Image }}
{{ with .Params.image }}
<img class="img-fluid w-100 mb-4" src="{{ . | relURL }}" alt="about image">
{{ end }}
{{ .Content }}
@ -21,7 +21,7 @@
<div class="container">
<div class="row">
{{ range .zahlen }}
<div class="col-md-3 col-sm-6 mb-4 mb-md-0">
<div class="col-md-4 col-sm-6 mb-4 mb-md-0">
<div class="text-center">
<h2 class="count text-white" data-count="{{ .count }}">0</h2>
<h5 class="text-white">{{ .name }}</h5>

@ -1,13 +0,0 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
{{ .Content | safeHTML }}
</div>
</div>
</div>
</section>
{{ end }}

@ -1,9 +1,9 @@
{{ define "main" }}
<section class="section bg-gray">
<section class="section-sm bg-gray">
<div class="container">
<div class="row">
<div class="col-lg-7 mb-4 mb-lg-0">
<div class="col-lg-8 mb-4 mb-lg-0">
<form action="https://php.cantorgymnasium.de/formtools/process.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_tools_form_id" value="5" />
<div style="display:none">
@ -35,13 +35,13 @@
<label for="slbe">Schullaufbahnempfehlung</label>
<input type="file" class="form-control mb-3" id="slbe" name="slbe" accept="image/*,.pdf">
<input type="checkbox" id="accept" name="accept" required>
<label for="accept">Hiermit melden wir unser Kind verbindlich zur Aufnahmeprüfung an.</label>
<label for="accept" class="mr-2">Hiermit melden wir unser Kind verbindlich zur Aufnahmeprüfung an.</label>
<button type="submit" value="send" class="btn btn-primary">{{ i18n "send" }}</button>
</form>
</div>
<div class="col-lg-5">
<div class="col-lg-4">
{{ .Content }}
<a href="mailto:{{ .Params.email }}" class="btn btn-primary">{{ .Params.email_pretty | safeHTML }}</a>
<a href="mailto:{{ .Params.email }}" class="btn btn-primary">{{ .Params.email_label | safeHTML }}</a>
</div>
</div>
</div>

@ -1,16 +1,16 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row mb-5">
<div class="row mb-4">
<div class="col-md-6 content">
{{ .Content }}
</div>
</div>
<div class="row">
{{ range .Params.elements }}
<div class="col-lg-4 col-sm-6 mb-4">
<div class="card rounded-0 hover-shadow border-top-0 border-left-0 border-right-0">
<div class="col-lg-6 col-sm-6 mb-4">
<div class="card rounded-0 hover-shadow border-primary">
<div class="card-body">
<h4 class="card-title mb-3">{{ .title }}</h4>
<div class="content">{{ .content | markdownify }}</div>

32
layouts/author/list.html Normal file

@ -0,0 +1,32 @@
{{ define "main" }}
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12">
<div class="container">
{{ range .Pages }}
<div class="d-md-table w-100 border-bottom hover-shadow p-3">
<div class="d-md-table-cell termin-tc">
{{ if .Params.image }}
<img class="rounded-circle img-fluid" src="{{.Params.image | relURL }}" width="128px">
{{ else if .Params.email }}
<img class="rounded-circle img-fluid" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
{{ end }}
</div>
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
<a href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</a>
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
</div>
<div class="d-md-table-cell text-right pr-0 pr-md-4" data-pagefind-ignore>
<a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a>
</div>
</div>
{{ end }}
</div>
</div>
</div>
</div>
</section>
{{ end }}

@ -1,27 +1,25 @@
{{ define "main" }}
<section class="section bg-light">
<section class="section-sm bg-light">
<div class="container">
<div class="row">
<div class="col-lg-10 mx-auto">
<div class="text-center">
<figure>
{{ if .Params.Image }}
{{ if .Params.image }}
<img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}" width="128px">
{{else if .Params.Email}}
{{ else if .Params.email}}
<img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
{{ end }}
<figcaption>
<h4 class="font-weight-bold">
{{ .Title }}
</h4>
<h4 class="font-weight-bold">{{ .Title }}</h4>
</figcaption>
</figure>
<hr>
{{ .Content }}
<hr>
<ul class="list-inline">
{{ range .Params.Social }}
{{ range .Params.social }}
<li class="list-inline-item"><a href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a></li>
{{ end }}
</ul>
@ -31,7 +29,7 @@
</div>
</section>
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-lg-12">
@ -41,10 +39,11 @@
</div>
{{ range where .Site.RegularPages "Params.author" (.Title | title) }}
<div class="col-lg-4 col-sm-6 mb-4">
{{ .Render "post" }}
{{ .Render "card" }}
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}

@ -1,35 +1,14 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
{{ .Content }}
</div>
<div class="row gta-cat">
<div class="col-12">
<ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
{{ $categories := slice }}
{{ range .Data.Pages }}
{{ $categories = $categories | append .Params.Category }}
{{ end }}
{{ range ( $categories | uniq ) }}
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
{{ end }}
</ul>
</div>
</div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
<div class="row filtr-container">
{{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
{{ .Render "begabte" }}
<div class="row">
{{ range .Pages }}
<div class="col-lg-4 col-sm-6">
{{ .Render "card-btn" }}
</div>
{{ end }}
</div>

@ -1,47 +1,9 @@
{{ define "main" }}
<section class="section-sm">
<div class="container">
{{ if .Params.Image }}
<div class="row">
<div class="col-12 mb-4">
<img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.Image | relURL }}"
class="img-fluid w-100">
</div>
</div>
{{ end }}
<div class="row align-items-center mb-5">
<div class="col-xl-6 order-sm-3 order-xl-2 col-12 order-2">
<ul class="list-inline">
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
<div class="d-flex align-items-center">
<i class="mdi mdi-crowd text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "class" | upper }}</h6>
<p class="mb-0">{{ .Params.Class }}</p>
</div>
</div>
</li>
</ul>
</div>
{{ if .Params.Web_url }}
<div class="col-xl-3 text-sm-right text-left order-sm-2 order-3 order-xl-3 col-sm-6 mb-4 mb-xl-0">
<a href="{{ .Params.Web_url | safeURL }}" class="btn btn-primary">{{ i18n "website" }}</a>
</div>
{{ end }}
<div class="col-12 mt-4 order-4">
<div class="border-bottom border-primary"></div>
</div>
</div>
<div class="row">
<div class="col-12 mb-4 content">
{{ .Content }}
</div>
</div>
</div>
</section>
{{ partial "header-cl-url" (dict "Params" .Params "Content" .Content "default_img" "/media/begabte/image.webp") }}
<section class="section pt-0">
<section class="section-sm pt-0">
<div class="container">
<div class="row">
<div class="col-12">
@ -52,7 +14,7 @@
{{ $related := (where .Site.RegularPages "Type" "begabte") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }}
<div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "begabte"}}
{{ .Render "card-btn"}}
</div>
{{ end }}
</div>

@ -1,6 +1,6 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12">
@ -14,7 +14,7 @@
<div class="row">
{{ range sort .Data.Pages ".Params.index" }}
<div class="col-lg-4 col-sm-6">
{{ .Render "cantorfora" }}
{{ .Render "card-btn" }}
</div>
{{ end }}
</div>

@ -1,15 +1,12 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12 content">
{{ if .Params.multiple }}
{{ else }}
<div class="col-12 mb-4">
<img src="{{ .Params.Image | relURL }}" alt="blog-thumb" class="img-fluid w-100">
</div>
{{ end }}
<div class="col-12 content">
{{ .Content }}
</div>
</div>

@ -1,11 +1,17 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
{{ range .Data.Pages }}
{{ range .Pages }}
<div class="col-lg-3 col-sm-4 col-6">
{{ .Render "cantorpreis" }}
<div class="card border-primary rounded-0 hover-shadow mb-4">
<a href="{{ .Permalink }}"><img class="card-img-top rounded-0" src="{{ .Params.image | relURL }}" alt="{{ .Title }}"></a>
<div class="card-body">
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p class="card-text">{{ .Params.name }}</p>
</div>
</div>
</div>
{{ end }}
</div>

@ -1,24 +1,18 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-md-5 mb-5">
<img class="img-fluid w-100" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<img class="img-fluid w-75" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
</div>
<div class="col-md-6 mb-5">
<div class="col-md-7 mb-5">
<h3>{{ .Params.Name }}</h3>
<h6 class="text-color">{{ .Title }}</h6>
<div class="content">
{{ .Content | markdownify }}
</div>
</div>
<div class="row">
</div>
</div>
<!--div class="col-12 content">
{{ .Content }}
</div-->
</div>
</div>
</section>

@ -1,14 +1,20 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12">
<ul class="list-unstyled">
<div class="container">
{{ range .Data.Pages }}
{{ .Render "forms" }}
<div class="d-md-table w-100 border-bottom hover-shadow p-3">
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
<a href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</a>
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
</div>
<div class="d-md-table-cell text-right pr-0 pr-md-4" data-pagefind-ignore><a href="{{ .Permalink }}" class="btn btn-primary">{{ i18n "read_more"}}</a></div>
</div>
{{ end }}
</ul>
</div>
</div>
</div>
</div>

@ -11,7 +11,7 @@
<div class="col-12 mb-50 content">
{{ range .Params.files }}
<div class="container mb-0">
<div class="card border-primary rounded-0 hover-shadow mb-5">
<div class="card border-primary rounded-0 hover-shadow mb-4">
<div class="card-body mb-0">
<h4 class="card-title"><a class="text-decoration-none" href='{{ .link }}'>{{ .title }}</a></h4>
<a href='{{ .link }}' class="text-decoration-none btn btn-primary btn-sm mb-0"><i class="mdi mdi-tray-arrow-down mb-0"></i> Download</a>

@ -1,32 +1,12 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row gta-cat">
<div class="col-lg-12">
<ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
{{ $categories := slice }}
{{ range .Data.Pages }}
{{ $categories = $categories | append .Params.Category }}
{{ end }}
{{ range ( $categories | uniq ) }}
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
{{ end }}
</ul>
</div>
</div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
{{ partial "filter-controls" . }}
<div class="row filtr-container">
{{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
{{ .Render "ganztagsangebote" }}
<div data-category="{{ .Params.category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
{{ .Render "ganztag" }}
</div>
{{ end }}
</div>

@ -4,70 +4,67 @@
<div class="container">
<div class="row">
<div class="col-12 mb-4">
<img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.Image | relURL }}"
<img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.image | relURL }}"
class="img-fluid w-100">
</div>
</div>
<div>
<h2>{{ .Title }}</h2>
</div>
<div class="row align-items-center mb-5">
<div class="col-xl-8 order-sm-3 order-xl-2 col-12 order-2">
<ul class="list-inline">
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
<div class="row align-items-center mb-4">
<div class="col-12">
<div class="row">
<div class="col-lg-3 col-sm-6 mb-3 mb-sm-0">
<div class="d-flex align-items-center">
<i class="mdi mdi-calendar-today-outline text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "weekly" | upper }}</h6>
<p class="mb-0">{{ .Params.Weekly }}</p>
<h6 class="mb-0">{{ i18n "schedule" | upper }}</h6>
<p class="mb-0">{{ .Params.schedule }}</p>
</div>
</div>
</li>
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
</div>
<div class="col-lg-3 col-sm-6 mb-3 mb-sm-0">
<div class="d-flex align-items-center">
<i class="mdi mdi-timer-sand text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "duration" | upper }}</h6>
<p class="mb-0">{{ .Params.Duration }}</p>
<p class="mb-0">{{ .Params.duration }}</p>
</div>
</div>
</li>
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
</div>
<div class="col-lg-3 col-sm-6 mb-3 mb-sm-0">
<div class="d-flex align-items-center">
<i class="mdi mdi-crowd text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "class" | upper }}</h6>
<p class="mb-0">{{ .Params.Class }}</p>
<p class="mb-0">{{ .Params.class }}</p>
</div>
</div>
</li>
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
</div>
<div class="col-lg-3 col-sm-6 mb-3 mb-sm-0">
<div class="d-flex align-items-center">
<i class="mdi mdi-map-marker-radius-outline text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "room" | upper }}</h6>
<p class="mb-0">{{ .Params.Room }}</p>
<p class="mb-0">{{ .Params.room }}</p>
</div>
</div>
</li>
</ul>
</div>
<!--div class="col-xl-3 text-sm-right text-left order-sm-2 order-3 order-xl-3 col-sm-6 mb-4 mb-xl-0">
<a href="{{ .Params.Apply_url | safeURL }}" class="btn btn-primary">{{ i18n "join_club" }}</a>
</div-->
<div class="col-12 mt-4 order-4">
</div>
</div>
<div class="col-12 mt-4">
<div class="border-bottom border-primary"></div>
</div>
</div>
<div class="row">
<div class="col-12 mb-4 content">
<div class="col-12 content">
{{ .Content }}
</div>
</div>
</div>
</section>
<section class="section pt-0">
<section class="section-sm pt-0">
<div class="container">
<div class="row">
<div class="col-12">
@ -78,7 +75,7 @@
{{ $related := (where .Site.RegularPages "Type" "ganztagsangebote") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }}
<div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "ganztagsangebote"}}
{{ .Render "ganztag"}}
</div>
{{ end }}
</div>

@ -97,7 +97,7 @@
{{ if $data.ausblick.enable }}
{{ with $data.ausblick }}
{{ partial "chronik-modal" (dict "id" (md5 .title) "title" .title "content" .content) }}
{{ partial "modal" . }}
{{ end }}
{{ end }}
@ -127,7 +127,7 @@
</div>
{{ range first 2 (where .Site.RegularPages "Type" "post")}}
<article class="col-lg-4 col-sm-6 mb-5 mb-lg-0">
{{ .Render "post" }}
{{ .Render "card" }}
</article>
{{ end }}
</div>
@ -181,7 +181,7 @@
<div class="row justify-content-center">
{{ range first 6 (where .Site.RegularPages "Type" "ganztagsangebote" | shuffle)}}
<div class="col-lg-4 col-sm-6">
{{ .Render "ganztagsangebote" }}
{{ .Render "ganztag" }}
</div>
{{ end }}
</div>

@ -16,10 +16,10 @@ crossorigin=""/>
}
</style>
<section class="section bg-gray">
<section class="section-sm bg-gray">
<div class="container">
<div class="row">
<div class="col-lg-7 mb-4 mb-lg-0">
<div class="col-lg-6 mb-4 mb-lg-0">
<form action="https://php.cantorgymnasium.de/formtools/process.php" method="post">
<input type="hidden" name="form_tools_form_id" value="2" />
<div style="display:none">
@ -32,7 +32,7 @@ crossorigin=""/>
<button type="submit" value="send" class="btn btn-primary">{{ i18n "send" }}</button>
</form>
</div>
<div class="col-lg-5 content">
<div class="col-lg-6 content">
{{ .Content }}
</div>
</div>

@ -1,17 +1,19 @@
<aside class="col-lg-4 order-4 order-lg-2">
<div class="bg-white mb-5">
<div class="bg-white mb-4">
<h4 class="mb-4">{{ i18n "categories" }}</h4>
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $transliterations := $data.transliterations.transliterations }}
{{- if isset .Site.Taxonomies "categories" }}
{{- if not (eq (len .Site.Taxonomies.categories) 0) }}
<ul class="list-unstyled">
<ul class="list-inline tag-list">
{{- range $name, $items := .Site.Taxonomies.categories }}
<li class="border-bottom"><a href="{{ `categories/` | relLangURL }}{{ $name | urlize | lower }}" class="d-block pb-3 mt-3">{{ $name | humanize | title }}</a></li>
<li class="list-inline-item mb-2"><a href="{{ `categories/` | relLangURL }}{{ $name | urlize | lower }}">{{ if (index $transliterations $name) }}{{ index $transliterations $name }}{{ else }}{{ $name | title }}{{end}}</a></li>
{{- end }}
</ul>
{{- end }}
{{- end }}
</div>
<div class="bg-white mb-5">
<div class="bg-white mb-4">
<h4 class="mb-4">{{ i18n "tags" }}</h4>
{{- if isset .Site.Taxonomies "tags" }}
{{- if not (eq (len .Site.Taxonomies.tags) 0) }}
@ -25,7 +27,7 @@
</div>
<div class="bg-white">
<h4 class="mb-4">{{ i18n "latest_article" }}</h4>
{{ range first 3 ( where .Site.Pages "Type" "post" )}}
{{ range first 5 ( where .Site.Pages "Type" "post" )}}
<div class="media border-bottom border-color pb-3 mb-3">
<a href="{{ .Permalink }}"><img class="mr-3 post-thumb-sm" src="{{ .Params.Image | absURL }}"></a>
<div class="media-body">

@ -0,0 +1,10 @@
<div class="card border-primary rounded-0 hover-shadow mb-4">
<div class="container fb-tile-color" style="background-color:{{ .bg_color }};">
<i class="{{ .icon }} fb-tile-icon" style="color: {{ .font_color }}"></i>
</div>
<div class="card-body">
<h4 class="card-title">{{ .title | truncate 55 }}</h4>
<button type="button" class="btn btn-primary btn-sm" onclick="$('#{{ md5 .title }}').modal('show');">{{
i18n "show_more"}}</button>
</div>
</div>

@ -1,17 +0,0 @@
<div id="{{ .id }}" class="modal">
<div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">{{ .title }}</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="content">
{{ .content | markdownify }}
</div>
</div>
</div>
</div>
</div>

@ -0,0 +1,21 @@
<div class="row gta-cat">
<div class="col-lg-12">
<ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
{{ $categories := slice }}
{{ range .Data.Pages }}
{{ $categories = $categories | append .Params.category }}
{{ end }}
{{ range ( $categories | uniq ) }}
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
{{ end }}
</ul>
</div>
</div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>

@ -8,7 +8,7 @@
<li class="mb-4">
<a href="{{ .Site.Params.route_link }}">{{ .Site.Params.address | markdownify }}</a>
</li>
<li class="mb-4"><a href="mailto:{{ .Site.Params.email }}">{{ .Site.Params.email_pretty | markdownify }}</a></li>
<li class="mb-4"><a href="mailto:{{ .Site.Params.email }}">{{ .Site.Params.email_label | markdownify }}</a></li>
<li class="mb-4"><a href="tel:{{ .Site.Params.mobile | markdownify }}">{{ .Site.Params.mobile | markdownify }}</a></li>
<li class="mb-4">
<a href="{{ .Site.Params.impressumURL | absLangURL }}">Impressum</a>

@ -66,7 +66,7 @@
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">Suche</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="close" data-dismiss="modal" aria-label="Close" data-pagefind-ignore>
<span aria-hidden="true">&times;</span>
</button>
</div>

@ -0,0 +1,35 @@
<section class="section-sm">
<div class="container">
{{ if (and .Params.image (ne .Params.image .default_img) ) }}
<div class="row">
<div class="col-12 mb-4">
<img class="img-fluid w-100" src="{{ .Params.image | relURL }}">
</div>
</div>
{{ end }}
<div class="row mb-4">
<div class="col-7">
<div class="d-flex align-items-center">
<i class="mdi mdi-crowd text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "class" | upper }}</h6>
<p class="mb-0">{{ .Params.class }}</p>
</div>
</div>
</div>
{{ if .Params.web_url }}
<div class="col-5 text-right mb-4 mb-xl-0">
<a href="{{ .Params.web_url | safeURL }}" class="btn btn-primary">{{ i18n "website" }}</a>
</div>
{{ end }}
<div class="col-12 mt-4">
<div class="border-bottom border-primary"></div>
</div>
</div>
<div class="row">
<div class="col-12 content">
{{ .Content }}
</div>
</div>
</div>
</section>

@ -19,7 +19,7 @@
</li>
<li class="list-inline-item">
<a class="text-color" href="mailto:{{ .Site.Params.email }}"><strong>{{ i18n "email" | upper }} :
</strong> {{ .Site.Params.email_pretty | safeHTML }}</a>
</strong> {{ .Site.Params.email_label | safeHTML }}</a>
</li>
</ul>
</div>
@ -122,13 +122,6 @@
{{ if not ($.Page.Scratch.Get "photoswipeloaded") }}
{{ $.Page.Scratch.Set "photoswipeloaded" 1 }}
<!--
*** jQuery must be loaded before load-photoswipe.js ***
- If your template already loads jQuery in the header then you don't need to load it again here.
- If your template already loads jQuery in the footer, then you could load load-photoswipe.js from the footer instead
-->
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src={{ "js/load-photoswipe.js" | relURL }}></script>
<!-- Photoswipe css/js libraries -->

@ -0,0 +1,17 @@
<div id="{{ md5 .title }}" class="modal">
<div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">{{ .title }}</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" data-pagefind-ignore>
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="content">
{{ .content | markdownify }}
</div>
</div>
</div>
</div>
</div>

@ -3,11 +3,11 @@
<div class="row">
<div class="col-md-8">
<ul class="list-inline">
<li class="list-inline-item h2" data-pagefind-ignore><a class="text-primary font-secondary" href="{{ if .Params.Previous.Enable }}{{ .Params.Previous.Link }}{{ else if .Parent.Page }}{{ .Parent.Page.Permalink }}{{ else }}{{ .Site.BaseURL | absLangURL }}{{end}}">{{ if .Params.Previous.Enable }}{{ .Params.Previous.Title }}{{ else }}{{ with .Parent.Params.title }}{{.}}{{ else }}{{ .Site.Params.home }}{{end}}{{ end }}</a></li>
<li class="list-inline-item h2" data-pagefind-ignore><a class="text-primary font-secondary" href="{{ if .Params.Previous.enable }}{{ .Params.Previous.link }}{{ else if .Parent.Page }}{{ .Parent.Page.Permalink }}{{ else }}{{ .Site.baseURL | absLangURL }}{{ end }}">{{ if .Params.previous.enable }}{{ .Params.previous.title }}{{ else }}{{ with .Parent.Params.title }}{{.}}{{ else }}{{ .Site.Params.home }}{{ end }}{{ end }}</a></li>
<li class="list-inline-item h2"><i class="mdi mdi-chevron-double-right text-white"></i></li>
<li class="list-inline-item text-white h2 font-secondary">{{ .Title }}</li>
</ul>
<p class="text-lighten">{{ .Params.Description | markdownify }}</p>
<p class="text-lighten">{{ .Params.description | markdownify }}</p>
</div>
</div>
</div>

@ -3,9 +3,9 @@
<section class="section-sm pb-0">
<div class="container">
<div class="row">
{{ range .Data.Pages }}
{{ range .Pages }}
<div class="col-lg-4 col-sm-6">
{{ .Render "card-noimg" }}
{{ .Render "card-btn-ni" }}
</div>
{{ end }}
</div>

@ -11,34 +11,9 @@
<div class="container">
<div class="row">
{{ range .Params.tiles }}
<div id="{{ md5 .title }}" class="modal">
<div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">{{ .title }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="content">
{{ .content | markdownify }}
</div>
</div>
</div>
</div>
</div>
{{ partial "modal" . }}
<div class="col-lg-4 col-sm-6">
<div class="card border-primary rounded-0 hover-shadow mb-5">
<div class="container fb-tile-color" style="background-color:{{ .bg_color }};">
<i class="{{ .icon }} fb-tile-icon" style="color: {{ .font_color }};"></i>
</div>
<div class="card-body">
<h4 class="card-title">{{ .title | truncate 55 }}</h4>
<button type="button" class="btn btn-primary btn-sm" onclick="$('#{{ md5 .title }}').modal('show');">{{
i18n "show_more"}}</button>
</div>
</div>
{{ partial "card-icon" . }}
</div>
{{ end }}
</div>

@ -8,7 +8,7 @@
<div class="row">
{{ range (where .Data.Pages "Params.type" "schulchronik") }}
<div class="col-lg-4 col-sm-6 mb-3">
{{ .Render "schulchronik" }}
{{ .Render "card-btn-ni" }}
</div>
{{ end }}
</div>

@ -22,15 +22,15 @@
</div>
{{ end }}
{{ range .Params.topics }}
{{ partial "chronik-modal" (dict "id" (md5 .title) "title" .title "content" .content) }}
{{ partial "modal" . }}
{{ end }}
{{ if and .Params.pretext (ne .Params.pretext "\n\n\n") }}
{{ partial "chronik-modal" (dict "id" "pretext" "title" .Title "content" .Params.pretext) }}
{{ partial "modal" (dict "title" .Title "content" .Params.pretext) }}
{{ end }}
<div id="wc-canvas"></div>
{{ $topics := slice }}
{{ if .Params.pretext }}
{{ $topics = $topics | append (slice (slice .Params.Title 200 "pretext")) }}
{{ $topics = $topics | append (slice (slice .Params.Title 200 (md5 .Title))) }}
{{ else }}
{{ $topics = $topics | append (slice (slice .Params.Title 200)) }}
{{ end }}
@ -47,7 +47,7 @@
document.getElementById('wc-canvas'),
{
click: function (item) {
if (item[1] != 200 || (item[1] == 200 && item[2] == "pretext")) {
if (item[1] != 200 || (item[1] == 200 && item[2] == '{{ md5 .Title }}')) {
if( item[3] == "superhaufen" ) {
window.location.href = "{{ `/superhaufen/` | relLangURL }}" + item[2];
} else {

@ -1,9 +1,3 @@
<!--
Put this file in /layouts/shortcodes/figure.html
NB this overrides Hugo's built-in "figure" shortcode but is backwards compatible
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
-->
<!-- count how many times we've called this shortcode; load the css if it's the first time -->
<link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} />
{{- if not ($.Page.Scratch.Get "figurecount") }}<link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} />{{ end }}
{{- $.Page.Scratch.Add "figurecount" 1 -}}

@ -1,25 +1,19 @@
<!--
Put this file in /layouts/shortcodes/gallery.html
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
-->
<!-- count how many times we've called this shortcode; load the css if it's the first time -->
<link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} />
{{ $baseURL := .Site.BaseURL }}
<div class="gallery caption-position-{{ with .Get "caption-position" | default "bottom" }}{{.}}{{end}} caption-effect-{{ with .Get "caption-effect" | default "slide" }}{{.}}{{end}} hover-effect-{{ with .Get "hover-effect" | default "zoom" }}{{.}}{{end}} {{ if ne (.Get "hover-transition") "none" }}hover-transition{{end}}" itemscope itemtype="http://schema.org/ImageGallery">
{{- with (.Get "dir") -}}
<!-- If a directory was specified, generate figures for all of the images in the directory -->
{{- $files := readDir (print "/static/" .) }}
{{- range $files -}}
<!-- skip files that aren't images, or that include the thumb suffix in their name -->
{{- $thumbext := $.Get "thumb" | default "-thumb" }}
{{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}<!-- is the current file a thumbnail image? -->
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl)" }}<!-- is the current file an image? -->
{{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl)" }}
{{- if and $isimg (not $isthumb) }}
{{- $caption := .Name | replaceRE "\\..*" "" | humanize }}<!-- humanized filename without extension -->
{{- $linkURL := print $baseURL "/" ($.Get "dir") "/" .Name | absURL }}<!-- absolute URL to hi-res image -->
{{- $thumb := .Name | replaceRE "(\\.)" ($thumbext | printf "%s.") }}<!-- filename of thumbnail image -->
{{- $thumbexists := where $files "Name" $thumb }}<!-- does a thumbnail image exist? -->
{{- $thumbURL := print $baseURL ($.Get "dir") "/" $thumb | absURL }}<!-- absolute URL to thumbnail image -->
{{- $caption := .Name | replaceRE "\\..*" "" | humanize }}
{{- $linkURL := print $baseURL "/" ($.Get "dir") "/" .Name | absURL }}
{{- $thumb := .Name | replaceRE "(\\.)" ($thumbext | printf "%s.") }}
{{- $thumbexists := where $files "Name" $thumb }}
{{- $thumbURL := print $baseURL ($.Get "dir") "/" $thumb | absURL }}
<div class="box">
<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
<div class="img" style="background-image: url('{{ if $thumbexists }}{{ $thumbURL }}{{ else }}{{ $linkURL }}{{ end }}');" >
@ -28,13 +22,12 @@ Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
<figcaption>
<p>{{ $caption }}</p>
</figcaption>
<a href="{{ $linkURL }}" itemprop="contentUrl"></a><!-- put <a> last so it is stacked on top -->
<a href="{{ $linkURL }}" itemprop="contentUrl"></a>
</figure>
</div>
{{- end }}
{{- end }}
{{- else -}}
<!-- If no directory was specified, include any figure shortcodes called within the gallery -->
{{ .Inner }}
{{- end }}
</div>

@ -1,15 +0,0 @@
{{ define "main" }}
<section class="section-sm pb-0">
<div class="container">
<div class="row">
{{ range .Data.Pages }}
<div class="col-lg-4 col-sm-6">
{{ .Render "card-noimg" }}
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}

@ -3,7 +3,7 @@
<section class="section-sm pb-0">
<div class="container">
<div class="row">
<div class="col-12 mb-4 content">
<div class="col-12 content">
{{ .Content }}
</div>
</div>
@ -11,46 +11,9 @@
<div class="container">
<div class="row">
{{ range .Params.tiles }}
<div id="{{ md5 .title }}" class="modal">
<div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">{{ .title }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="content mb-2">
{{ .content | markdownify }}
</div>
{{ range .unterhaufen }}
<div class="container mb-0">
<div class="card border-primary rounded-0 hover-shadow mb-2">
<div class="card-body mb-0">
<details class="mb-0">
<summary class="mb-0">{{ .title }}</summary>
<div class="content"><p class="content">{{ .content | markdownify }}</p></div>
</details>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</div>
</div>
{{ partial "modal" . }}
<div class="col-lg-4 col-sm-6">
<div class="card border-primary rounded-0 hover-shadow mb-5">
<div class="container fb-tile-color" style="background-color:{{ .bg_color }};">
<i class="{{ .icon }} fb-tile-icon" style="color: {{ .font_color }};"></i>
</div>
<div class="card-body">
<h4 class="card-title">{{ .title | truncate 55 }}</h4>
<button type="button" class="btn btn-primary btn-sm" onclick="$('#{{ md5 .title }}').modal('show');">{{
i18n "show_more"}}</button>
</div>
</div>
{{ partial "card-icon" . }}
</div>
{{ end }}
</div>

@ -1,35 +1,15 @@
{{ define "main" }}
<section class="section">
<section class="section-sm">
<div class="container">
<div class="row">
{{ .Content }}
</div>
<div class="row gta-cat">
<div class="col-12">
<ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
{{ $categories := slice }}
{{ range .Data.Pages }}
{{ $categories = $categories | append .Params.Category }}
{{ end }}
{{ range ( $categories | uniq ) }}
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
{{ end }}
</ul>
</div>
</div>
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
{{ partial "filter-controls" . }}
<div class="row filtr-container">
{{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
{{ .Render "wettbewerbe" }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 filtr-item">
{{ .Render "card-ct" }}
</div>
{{ end }}
</div>

@ -1,46 +1,8 @@
{{ define "main" }}
<section class="section-sm">
<div class="container">
<div class="row">
<div class="col-12 mb-4">
<img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.Image | relURL }}"
class="img-fluid w-100">
</div>
</div>
<div>
<h2>{{ .Title }}</h2>
</div>
<div class="row align-items-center mb-5">
<div class="col-xl-8 order-sm-2 order-xl-2 col-12 order-2 col-sm-6">
<ul class="list-inline">
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
<div class="d-flex align-items-center">
<i class="mdi mdi-crowd text-primary icon-md mr-2"></i>
<div class="text-left">
<h6 class="mb-0">{{ i18n "class" | upper }}</h6>
<p class="mb-0">{{ .Params.Class }}</p>
</div>
</div>
</li>
</ul>
</div>
<div class="col-xl-2 text-left text-xl-right order-sm-3 order-3 order-xl-3 col-sm-6 col-12 mb-4 mb-xl-0">
<a href="{{ .Params.Web_url | safeURL }}" class="btn btn-primary">{{ i18n "website" }}</a>
</div>
<div class="col-12 mt-4 order-4">
<div class="border-bottom border-primary"></div>
</div>
</div>
<div class="row">
<div class="col-12 mb-4 content">
{{ .Content }}
</div>
</div>
</div>
</section>
{{ partial "header-cl-url" (dict "Params" .Params "Content" .Content "default_img" "/media/contests/image.webp") }}
<section class="section pt-0">
<section class="section-sm pt-0">
<div class="container">
<div class="row">
<div class="col-12">
@ -51,7 +13,7 @@
{{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }}
<div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "wettbewerbe"}}
{{ .Render "card-ct"}}
</div>
{{ end }}
</div>

@ -258,7 +258,7 @@ collections:
- {label: "Route (Link)", name: "route_link", widget: "string"}
- {label: "Telefonnummer", name: "mobile", widget: "string"}
- {label: "E-Mail-Adresse", name: "email", widget: "string"}
- {label: "E-Mail-Adresse (UI-Ansicht)", name: "email_pretty", widget: "string"}
- {label: "E-Mail-Adresse (UI-Ansicht)", name: "email_label", widget: "string"}
- {label: "Beschreibung", name: "description", widget: "string"}
- {label: "Kontakt-Titelleiste", name: "top_header", widget: "boolean"}
- label: "Vorschaubilder"
@ -776,7 +776,7 @@ collections:
display_fields: ["ganztag.*"]
options_length: 50
- {label: "Dauer", name: "duration", widget: "string"}
- {label: "Tag/Stunden", name: "weekly", widget: "string"}
- {label: "Tag/Stunden", name: "schedule", widget: "string"}
- {label: "Klassenstufen", name: "class", widget: "string"}
- {label: "Raum", name: "room", widget: "string"}
- {label: "Anmeldelink", name: "apply_url", widget: "hidden", default: "https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828"}

@ -688,7 +688,7 @@
h('i', {className: "mdi mdi-calendar-today-outline text-primary icon-md mr-2"}),
h('div', {className: "text-left"},
h('h6', {className: "mb-0"}, "Zeit"),
h('p', {className: "mb-0"}, entry.data.weekly)
h('p', {className: "mb-0"}, entry.data.schedule)
)
)
),