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 343f365301
commit 9fe572f814
100 changed files with 521 additions and 812 deletions

View File

@ -380,11 +380,19 @@ textarea.form-control {
blockquote { 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 { p {
margin-bottom: 0; margin-bottom: 0;
color: $text-color; color: $text-color;
font-style: italic !important; font-style: italic !important;
} }
* {
margin-bottom: 0 !important;
}
} }

View File

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

View File

@ -3,7 +3,7 @@ title: Anmeldeformular
draft: false draft: false
bg_image: media/backgrounds/page-title.webp bg_image: media/backgrounds/page-title.webp
email: aufnahme@cantor-gymnasium.de 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: description:
--- ---
##### Speicherung personenbezogener Daten ##### Speicherung personenbezogener Daten

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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_ _Projekt: Rekonstruktion eines autochthonen Tertiärwaldes_

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ description: ""
image: /media/ganztagsangebote/biologie.webp image: /media/ganztagsangebote/biologie.webp
category: Naturwissenschaften category: Naturwissenschaften
duration: 1. Stunde (14-tägig) 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 class: 5. Klasse
room: "108" room: "108"
apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828 apply_url: https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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>

View File

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

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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"> <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> <a href="{{ .Permalink }}" class="btn btn-primary btn-sm" data-pagefind-ignore>{{ i18n "show_more"}}</a>
</div> </div>
</div> </div>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -1,29 +1,14 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-8 order-2 order-lg-1"> <div class="col-lg-8 order-2 order-lg-1">
<div class="row"> <div class="row">
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }} {{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<div class="col-sm-6 mb-5"> <div class="col-sm-6">
<article {{ .Render "card" }}
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> </div>
{{ end }} {{ end }}
<div class="col-12 mt-4"> <div class="col-12 mt-4">

View File

@ -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 }}

View File

@ -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>

View File

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

View File

@ -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>

View File

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

View File

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

View File

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

View File

@ -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 }}

View File

@ -1,9 +1,9 @@
{{ define "main" }} {{ define "main" }}
<section class="section bg-gray"> <section class="section-sm bg-gray">
<div class="container"> <div class="container">
<div class="row"> <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"> <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" /> <input type="hidden" name="form_tools_form_id" value="5" />
<div style="display:none"> <div style="display:none">
@ -35,13 +35,13 @@
<label for="slbe">Schullaufbahnempfehlung</label> <label for="slbe">Schullaufbahnempfehlung</label>
<input type="file" class="form-control mb-3" id="slbe" name="slbe" accept="image/*,.pdf"> <input type="file" class="form-control mb-3" id="slbe" name="slbe" accept="image/*,.pdf">
<input type="checkbox" id="accept" name="accept" required> <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> <button type="submit" value="send" class="btn btn-primary">{{ i18n "send" }}</button>
</form> </form>
</div> </div>
<div class="col-lg-5"> <div class="col-lg-4">
{{ .Content }} {{ .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> </div>
</div> </div>

View File

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

32
layouts/author/list.html Normal file
View 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 }}

View File

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

View File

@ -1,35 +1,14 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ .Content }} {{ .Content }}
</div> </div>
<div class="row gta-cat"> <div class="row">
<div class="col-12"> {{ range .Pages }}
<ul class="list-inline text-center filter-controls mb-5"> <div class="col-lg-4 col-sm-6">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li> {{ .Render "card-btn" }}
{{ $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> </div>
{{ end }} {{ end }}
</div> </div>

View File

@ -1,47 +1,9 @@
{{ define "main" }} {{ define "main" }}
<section class="section-sm"> {{ partial "header-cl-url" (dict "Params" .Params "Content" .Content "default_img" "/media/begabte/image.webp") }}
<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>
<section class="section pt-0">
<section class="section-sm pt-0">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <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}} {{ $related := (where .Site.RegularPages "Type" "begabte") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }} {{ range first 3 $related }}
<div class="col-lg-4 col-sm-6 mb-5"> <div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "begabte"}} {{ .Render "card-btn"}}
</div> </div>
{{ end }} {{ end }}
</div> </div>

View File

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

View File

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

View File

@ -1,11 +1,17 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ range .Data.Pages }} {{ range .Pages }}
<div class="col-lg-3 col-sm-4 col-6"> <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> </div>
{{ end }} {{ end }}
</div> </div>

View File

@ -1,24 +1,18 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-5 mb-5"> <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>
<div class="col-md-6 mb-5"> <div class="col-md-7 mb-5">
<h3>{{ .Params.Name }}</h3> <h3>{{ .Params.Name }}</h3>
<h6 class="text-color">{{ .Title }}</h6> <h6 class="text-color">{{ .Title }}</h6>
<div class="content"> <div class="content">
{{ .Content | markdownify }} {{ .Content | markdownify }}
</div> </div>
</div>
<div class="row">
</div>
</div> </div>
<!--div class="col-12 content">
{{ .Content }}
</div-->
</div> </div>
</div> </div>
</section> </section>

View File

@ -1,14 +1,20 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<ul class="list-unstyled"> <div class="container">
{{ range .Data.Pages }} {{ 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 }} {{ end }}
</ul> </div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -10,14 +10,14 @@
<div class="row"> <div class="row">
<div class="col-12 mb-50 content"> <div class="col-12 mb-50 content">
{{ range .Params.files }} {{ range .Params.files }}
<div class="container mb-0"> <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"> <div class="card-body mb-0">
<h4 class="card-title"><a class="text-decoration-none" href='{{ .link }}'>{{ .title }}</a></h4> <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> <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>
</div>
</div> </div>
</div> </div>
</div>
{{ end }} {{ end }}
{{ .Content }} {{ .Content }}
</div> </div>

View File

@ -1,36 +1,16 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row gta-cat"> {{ partial "filter-controls" . }}
<div class="col-lg-12"> <div class="row filtr-container">
<ul class="list-inline text-center filter-controls mb-5"> {{ range .Data.Pages }}
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li> <div data-category="{{ .Params.category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
{{ $categories := slice }} {{ .Render "ganztag" }}
{{ 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 "ganztagsangebote" }}
</div>
{{ end }}
</div> </div>
{{ end }}
</div> </div>
</div>
</section> </section>
{{ end }} {{ end }}

View File

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

View File

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

View File

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

View File

@ -1,17 +1,19 @@
<aside class="col-lg-4 order-4 order-lg-2"> <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> <h4 class="mb-4">{{ i18n "categories" }}</h4>
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $transliterations := $data.transliterations.transliterations }}
{{- if isset .Site.Taxonomies "categories" }} {{- if isset .Site.Taxonomies "categories" }}
{{- if not (eq (len .Site.Taxonomies.categories) 0) }} {{- if not (eq (len .Site.Taxonomies.categories) 0) }}
<ul class="list-unstyled"> <ul class="list-inline tag-list">
{{- range $name, $items := .Site.Taxonomies.categories }} {{- 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 }} {{- end }}
</ul> </ul>
{{- end }} {{- end }}
{{- end }} {{- end }}
</div> </div>
<div class="bg-white mb-5"> <div class="bg-white mb-4">
<h4 class="mb-4">{{ i18n "tags" }}</h4> <h4 class="mb-4">{{ i18n "tags" }}</h4>
{{- if isset .Site.Taxonomies "tags" }} {{- if isset .Site.Taxonomies "tags" }}
{{- if not (eq (len .Site.Taxonomies.tags) 0) }} {{- if not (eq (len .Site.Taxonomies.tags) 0) }}
@ -25,7 +27,7 @@
</div> </div>
<div class="bg-white"> <div class="bg-white">
<h4 class="mb-4">{{ i18n "latest_article" }}</h4> <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"> <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> <a href="{{ .Permalink }}"><img class="mr-3 post-thumb-sm" src="{{ .Params.Image | absURL }}"></a>
<div class="media-body"> <div class="media-body">

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

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

View File

@ -66,7 +66,7 @@
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h3 class="modal-title">Suche</h3> <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> <span aria-hidden="true">&times;</span>
</button> </button>
</div> </div>

View File

@ -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>

View File

@ -19,7 +19,7 @@
</li> </li>
<li class="list-inline-item"> <li class="list-inline-item">
<a class="text-color" href="mailto:{{ .Site.Params.email }}"><strong>{{ i18n "email" | upper }} : <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> </li>
</ul> </ul>
</div> </div>
@ -122,13 +122,6 @@
{{ if not ($.Page.Scratch.Get "photoswipeloaded") }} {{ if not ($.Page.Scratch.Get "photoswipeloaded") }}
{{ $.Page.Scratch.Set "photoswipeloaded" 1 }} {{ $.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> <script src={{ "js/load-photoswipe.js" | relURL }}></script>
<!-- Photoswipe css/js libraries --> <!-- Photoswipe css/js libraries -->

View File

@ -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>

View File

@ -3,11 +3,11 @@
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-8">
<ul class="list-inline"> <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 h2"><i class="mdi mdi-chevron-double-right text-white"></i></li>
<li class="list-inline-item text-white h2 font-secondary">{{ .Title }}</li> <li class="list-inline-item text-white h2 font-secondary">{{ .Title }}</li>
</ul> </ul>
<p class="text-lighten">{{ .Params.Description | markdownify }}</p> <p class="text-lighten">{{ .Params.description | markdownify }}</p>
</div> </div>
</div> </div>
</div> </div>

View File

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

View File

@ -11,34 +11,9 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ range .Params.tiles }} {{ range .Params.tiles }}
<div id="{{ md5 .title }}" class="modal"> {{ partial "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>
<div class="col-lg-4 col-sm-6"> <div class="col-lg-4 col-sm-6">
<div class="card border-primary rounded-0 hover-shadow mb-5"> {{ partial "card-icon" . }}
<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>
</div> </div>
{{ end }} {{ end }}
</div> </div>

View File

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

View File

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

View File

@ -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 }} /> <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 }} {{- if not ($.Page.Scratch.Get "figurecount") }}<link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} />{{ end }}
{{- $.Page.Scratch.Add "figurecount" 1 -}} {{- $.Page.Scratch.Add "figurecount" 1 -}}

View File

@ -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 }} /> <link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} />
{{ $baseURL := .Site.BaseURL }} {{ $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"> <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") -}} {{- with (.Get "dir") -}}
<!-- If a directory was specified, generate figures for all of the images in the directory -->
{{- $files := readDir (print "/static/" .) }} {{- $files := readDir (print "/static/" .) }}
{{- range $files -}} {{- range $files -}}
<!-- skip files that aren't images, or that include the thumb suffix in their name -->
{{- $thumbext := $.Get "thumb" | default "-thumb" }} {{- $thumbext := $.Get "thumb" | default "-thumb" }}
{{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}<!-- is the current file a thumbnail image? --> {{- $isthumb := .Name | findRE ($thumbext | printf "%s\\.") }}
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl)" }}<!-- is the current file an image? --> {{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl)" }}
{{- if and $isimg (not $isthumb) }} {{- if and $isimg (not $isthumb) }}
{{- $caption := .Name | replaceRE "\\..*" "" | humanize }}<!-- humanized filename without extension --> {{- $caption := .Name | replaceRE "\\..*" "" | humanize }}
{{- $linkURL := print $baseURL "/" ($.Get "dir") "/" .Name | absURL }}<!-- absolute URL to hi-res image --> {{- $linkURL := print $baseURL "/" ($.Get "dir") "/" .Name | absURL }}
{{- $thumb := .Name | replaceRE "(\\.)" ($thumbext | printf "%s.") }}<!-- filename of thumbnail image --> {{- $thumb := .Name | replaceRE "(\\.)" ($thumbext | printf "%s.") }}
{{- $thumbexists := where $files "Name" $thumb }}<!-- does a thumbnail image exist? --> {{- $thumbexists := where $files "Name" $thumb }}
{{- $thumbURL := print $baseURL ($.Get "dir") "/" $thumb | absURL }}<!-- absolute URL to thumbnail image --> {{- $thumbURL := print $baseURL ($.Get "dir") "/" $thumb | absURL }}
<div class="box"> <div class="box">
<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"> <figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
<div class="img" style="background-image: url('{{ if $thumbexists }}{{ $thumbURL }}{{ else }}{{ $linkURL }}{{ end }}');" > <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> <figcaption>
<p>{{ $caption }}</p> <p>{{ $caption }}</p>
</figcaption> </figcaption>
<a href="{{ $linkURL }}" itemprop="contentUrl"></a><!-- put <a> last so it is stacked on top --> <a href="{{ $linkURL }}" itemprop="contentUrl"></a>
</figure> </figure>
</div> </div>
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- else -}} {{- else -}}
<!-- If no directory was specified, include any figure shortcodes called within the gallery -->
{{ .Inner }} {{ .Inner }}
{{- end }} {{- end }}
</div> </div>

View File

@ -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 }}

View File

@ -3,7 +3,7 @@
<section class="section-sm pb-0"> <section class="section-sm pb-0">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12 mb-4 content"> <div class="col-12 content">
{{ .Content }} {{ .Content }}
</div> </div>
</div> </div>
@ -11,46 +11,9 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ range .Params.tiles }} {{ range .Params.tiles }}
<div id="{{ md5 .title }}" class="modal"> {{ partial "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>
<div class="col-lg-4 col-sm-6"> <div class="col-lg-4 col-sm-6">
<div class="card border-primary rounded-0 hover-shadow mb-5"> {{ partial "card-icon" . }}
<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>
</div> </div>
{{ end }} {{ end }}
</div> </div>

View File

@ -1,35 +1,15 @@
{{ define "main" }} {{ define "main" }}
<section class="section"> <section class="section-sm">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ .Content }} {{ .Content }}
</div> </div>
<div class="row gta-cat"> {{ partial "filter-controls" . }}
<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"> <div class="row filtr-container">
{{ range .Data.Pages }} {{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item"> <div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 filtr-item">
{{ .Render "wettbewerbe" }} {{ .Render "card-ct" }}
</div> </div>
{{ end }} {{ end }}
</div> </div>

View File

@ -1,46 +1,8 @@
{{ define "main" }} {{ define "main" }}
<section class="section-sm"> {{ partial "header-cl-url" (dict "Params" .Params "Content" .Content "default_img" "/media/contests/image.webp") }}
<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>
<section class="section pt-0"> <section class="section-sm pt-0">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <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}} {{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }} {{ range first 3 $related }}
<div class="col-lg-4 col-sm-6 mb-5"> <div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "wettbewerbe"}} {{ .Render "card-ct"}}
</div> </div>
{{ end }} {{ end }}
</div> </div>

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 KiB