small fixes
|
@ -1 +0,0 @@
|
||||||
../themes/buha/archetypes/default.md
|
|
13
config.toml
|
@ -8,6 +8,14 @@ paginate = 5
|
||||||
description = "Buntes Haus e.V. - Soziokulturelles Zentrum in Celle - probably the friendliest place on earth"
|
description = "Buntes Haus e.V. - Soziokulturelles Zentrum in Celle - probably the friendliest place on earth"
|
||||||
copyright = "bunteshaus.de"
|
copyright = "bunteshaus.de"
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
category = 'categories'
|
||||||
|
tag = 'tags'
|
||||||
|
news = 'news'
|
||||||
|
events = 'events'
|
||||||
|
about = 'about'
|
||||||
|
featured = 'featured'
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
# keywords for seo
|
# keywords for seo
|
||||||
keywords = "buntes haus celle, buntes haus, bunteshaus, celle, buntes haus e.V., www.bunteshaus.de, celle, punk, reggae, ska, konzerte, partys, soziokultur, soziokulturelles zentrum celle, elektro, electroe, jugendzentrum, celle, dum n bass, konzert, musik, politik, kultur, alternativ, cd kaserne celle, cd kaserne, plenum, celle, antifa, antira, anti akw, anti atom celle, veranstaltungen, infoladen, proberaum celle, archiv für neue soziale bewegungen in celle, hartz 4 IV beratung celle, skaten, graffiti, sprayen, kunst, fahrradwerkstatt, deka dance celle, dekadance, Revista, probably the friendliest Place on Earth"
|
keywords = "buntes haus celle, buntes haus, bunteshaus, celle, buntes haus e.V., www.bunteshaus.de, celle, punk, reggae, ska, konzerte, partys, soziokultur, soziokulturelles zentrum celle, elektro, electroe, jugendzentrum, celle, dum n bass, konzert, musik, politik, kultur, alternativ, cd kaserne celle, cd kaserne, plenum, celle, antifa, antira, anti akw, anti atom celle, veranstaltungen, infoladen, proberaum celle, archiv für neue soziale bewegungen in celle, hartz 4 IV beratung celle, skaten, graffiti, sprayen, kunst, fahrradwerkstatt, deka dance celle, dekadance, Revista, probably the friendliest Place on Earth"
|
||||||
|
@ -21,14 +29,15 @@ copyright = "bunteshaus.de"
|
||||||
# do you want an imprint?
|
# do you want an imprint?
|
||||||
imprint = true
|
imprint = true
|
||||||
|
|
||||||
mainSections = ['about','events','news']
|
mainSections = ['about','news','events']
|
||||||
|
mainMenu = ['about']
|
||||||
|
|
||||||
# data for your imprint and contact page
|
# data for your imprint and contact page
|
||||||
[params.imprintdata]
|
[params.imprintdata]
|
||||||
tel = "(+) 49 5141 907 927"
|
tel = "(+) 49 5141 907 927"
|
||||||
mail = 'info@bunteshaus.de'
|
mail = 'info@bunteshaus.de'
|
||||||
street = "Hannoversche Straße 30 f"
|
street = "Hannoversche Straße 30 f"
|
||||||
pobox = "Postfach 3166"
|
pobox = "3166"
|
||||||
city = "29221 Celle"
|
city = "29221 Celle"
|
||||||
country = "Niedersachsen / Deutschland"
|
country = "Niedersachsen / Deutschland"
|
||||||
executive = "Ingileif Bech"
|
executive = "Ingileif Bech"
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
---
|
|
||||||
title: "Plenum"
|
|
||||||
date: 2021-06-22T10:54:20+02:00
|
|
||||||
description: "Plenum"
|
|
||||||
categories: [ "Plenum", "recurrent" ]
|
|
||||||
# Wenn dieser Inhalt nicht auf der Seite erscheinen soll, auf "true" stellen:
|
|
||||||
hidden: "false"
|
|
||||||
# Wenn dies ein Termin ist
|
|
||||||
start: "2021-06-24T19:00:00+02:00"
|
|
||||||
duration: "90"
|
|
||||||
# Wenn dieser Inhalt widerkehrend ist:
|
|
||||||
recurrent: "FREQ=WEEKLY;BYDAY=TH;INTERVAL=1"
|
|
||||||
---
|
|
||||||
Em li vir serleşker in
|
|
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
title: "featured"
|
|
||||||
---
|
|
|
@ -5,5 +5,5 @@ when: "13.4.1983"
|
||||||
price: "free"
|
price: "free"
|
||||||
covid: ""
|
covid: ""
|
||||||
register: ""
|
register: ""
|
||||||
categories: ["Party"]
|
eventcategories: ["Party"]
|
||||||
---
|
---
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
|
@ -2,10 +2,11 @@
|
||||||
title: "Trio Motion"
|
title: "Trio Motion"
|
||||||
date: "2021-10-20T17:00:00+02:00"
|
date: "2021-10-20T17:00:00+02:00"
|
||||||
when: "Samstag, 06.11.2021, 20:00Uhr"
|
when: "Samstag, 06.11.2021, 20:00Uhr"
|
||||||
categories: ["Konzert"]
|
events: ["Konzert"]
|
||||||
tags: ["Trio Motion", "Jens Rathfelder", "Michael Haupt", "Jannik Stock"]
|
tags: ["Trio Motion", "Jens Rathfelder", "Michael Haupt", "Jannik Stock"]
|
||||||
price: "3€"
|
price: "3€"
|
||||||
register: "programm@bunteshaus.de"
|
register: "programm@bunteshaus.de"
|
||||||
|
contact: "mail@example.org"
|
||||||
covid: "3G"
|
covid: "3G"
|
||||||
---
|
---
|
||||||
Bewegung ist Zeit und Zeit ist Bewegung. Immer auf der Suche danach sich zu verlieren, versucht das Trio Motion die Zeit zu überlisten und sich in einen schwerelosen Raum zu spielen in dem sie weder sind noch nicht sind.
|
Bewegung ist Zeit und Zeit ist Bewegung. Immer auf der Suche danach sich zu verlieren, versucht das Trio Motion die Zeit zu überlisten und sich in einen schwerelosen Raum zu spielen in dem sie weder sind noch nicht sind.
|
8
content/news/2022-04-03-TanzBar/index.de.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: "TanzBar"
|
||||||
|
date: "2022-04-03T20:04:00+02:00"
|
||||||
|
when: "Montag, 13.4.2022, 19Uhr"
|
||||||
|
events: ["Party"]
|
||||||
|
price: "free"
|
||||||
|
---
|
||||||
|
Leichter Jazz, Jazz, Jazz und dazu ein, zwei Drinks.
|
22
content/news/29-11-2022-tanzabend/index.de.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
title: "Schnorps"
|
||||||
|
date: 2022-04-03T04:28:51+02:00
|
||||||
|
categories: ["Pressemitteilung"]
|
||||||
|
featured: true
|
||||||
|
covid: "3g"
|
||||||
|
contact: "schnbuuel@schnabel"
|
||||||
|
price: "3€"
|
||||||
|
draft: false
|
||||||
|
tags: []
|
||||||
|
---
|
||||||
|
Lorem ipsum occaecat culpa exercitation et deserunt laborum nisi ut in ex laborum pariatur ea officia commodo sit incididunt aliquip excepteur.
|
||||||
|
Exercitation velit eiusmod dolore dolor ea proident laboris culpa fugiat culpa anim cillum commodo ut amet cupidatat eu consectetur ut cillum occaecat sed incididunt in voluptate in amet amet incididunt consequat ex magna
|
||||||
|
uis duis reprehenderit ex id anim duis ad ad mollit nisi dolor tempor ex voluptate non adipisicing voluptate nulla ut ut cillum sunt
|
||||||
|
|
||||||
|
in irure irure ut irure voluptate occaecat est ut dolor non dolor consectetur qui dolor dolor dolor id dolor sed enim et ad est excepteur cupidatat aliqua fugiat nulla nisi cillum dolore ad ullamco
|
||||||
|
|
||||||
|
mollit consectetur dolore dolore labore mollit in magna deserunt quis laboris cillum ut cillum occaecat non esse deserunt aute eiusmod ut tempor exercitation aliquip cillum nulla laborum sed aliquip quis dolore in sed adipisicing nulla exercitation excepteur dolore in veniam dolor do esse non consectetur non do aliquip elit voluptate in ex irure sed eiusmod dolor sunt proident esse proident eiusmod voluptate anim eiusmod aliqua fugiat ea commodo esse pariatur ad cillum ad consequat culpa dolore sit anim veniam ea anim non nostrud sed proident ea dolor sunt non deserunt adipisicing laborum dolore amet amet aute ex anim duis nisi est aliquip ad adipisicing exercitation qui voluptate non velit culpa reprehenderit dolore dolore quis esse veniam elit ut exercitation nulla velit dolor commodo mollit culpa minim dolore ea adipisicing pariatur in ullamco aliquip est ut commodo ad ut sed voluptate exercitation non sit proident amet sit aute veniam pariatur commodo ex.
|
||||||
|
|
||||||
|
Sed ad.
|
||||||
|
|
||||||
|
Officia eu do consectetur reprehenderit esse aliquip sed adipisicing consectetur adipisicing aliqua in ut eu id dolor labore occaecat id dolore laboris laborum sint dolore nulla consequat duis duis adipisicing elit enim aute laboris.
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 222 KiB |
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "MorgenHäute"
|
title: "MorgenHäute"
|
||||||
date: "2021-07-23T23:00:00+02:00"
|
date: "2021-07-23T23:00:00+02:00"
|
||||||
categories: ["Kabarett"]
|
events: ["Kabarett"]
|
||||||
when: "Samstag, 31.07.2021, 20:00Uhr"
|
when: "Samstag, 31.07.2021, 20:00Uhr"
|
||||||
tags: ["Sunna Huygen"]
|
tags: ["Sunna Huygen"]
|
||||||
price: "free"
|
price: "free"
|
|
@ -1,7 +1,8 @@
|
||||||
---
|
---
|
||||||
title: "Offenes Café"
|
title: "Offenes Café"
|
||||||
date: "2021-10-20T17:00:00+02:00"
|
date: "2021-10-20T17:00:00+02:00"
|
||||||
|
about: true
|
||||||
when: "Mittwochs 16.00-19.00Uhr und Sonntags 14.00-17.00Uhr"
|
when: "Mittwochs 16.00-19.00Uhr und Sonntags 14.00-17.00Uhr"
|
||||||
categories: ["recurrent"]
|
events: ["recurrent"]
|
||||||
---
|
---
|
||||||
Seit August gibt es im Bunten Haus das "Offene Café" immer Mittwochs 16.00 - 19.00 Uhr und Sonntags 14.00 - 17.00 Uhr: Wir haben leckeren Kaffee, Espresso, Tee und weitere Getränke und manchmal auch Kuchen. Wir freuen uns, wenn ihr vorbeischaut. Wir sehen uns dort!
|
Seit August gibt es im Bunten Haus das "Offene Café" immer Mittwochs 16.00 - 19.00 Uhr und Sonntags 14.00 - 17.00 Uhr: Wir haben leckeren Kaffee, Espresso, Tee und weitere Getränke und manchmal auch Kuchen. Wir freuen uns, wenn ihr vorbeischaut. Wir sehen uns dort!
|
Before Width: | Height: | Size: 286 KiB After Width: | Height: | Size: 286 KiB |
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Finanzen"
|
title: "Finanzen"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
---
|
---
|
||||||
Immer eine Gratwanderung... Trotz unserer eigentlich konkurrenzlosen Eintritts- und Getränkepreisen gibt's leider kaum eine Veranstaltung, bei der nicht an der Kasse diskutiert wird. Wir sind es leid. Aber gäbe es einen Weg die Preise auf Dauer zu halten, oder sogar zu senken: Kommt einfach in Massen! Denn unser Prinzip ist, Veranstaltung nach Möglichkeit kostendeckend durchzuführen.
|
Immer eine Gratwanderung... Trotz unserer eigentlich konkurrenzlosen Eintritts- und Getränkepreisen gibt's leider kaum eine Veranstaltung, bei der nicht an der Kasse diskutiert wird. Wir sind es leid. Aber gäbe es einen Weg die Preise auf Dauer zu halten, oder sogar zu senken: Kommt einfach in Massen! Denn unser Prinzip ist, Veranstaltung nach Möglichkeit kostendeckend durchzuführen.
|
||||||
Und Kosten haben wir immer. Feind Nr. 1 ist die "Gesellschaft für musikalische Aufführungs- und mechanische Vervielfältigungsrechte" (Gema), die sobald ein Ton erklingt die Hand aufhält. Bei Parties ist es nicht nur die Gema, es muss auch eine PA- und Lichtanlage geliehen werden. Und auch die Gagen für DJ's werden halt über den Eintritt finanziert. Und diese Kosten verteilen wir nach Möglichkeit auf die BesucherInnen. Doch schon der Alltag produziert Kosten, auch wenn die Räumlichkeiten von der Betriebsführungs - GmbH mietfrei zur Verfügung gestellt werden und selbst Mietnebenkosten bis zu einer monatlichen Obergrenze von 400€ frei sind. Aber: Wir zahlen Versicherung für den Fall, dass jemanden eine Box auf den Fuss fällt, zahlen die Abfallgebühr für den unvermeidlichen Müll, halten Internet und Telefon vor und müssen - auch wenn es manchmal nicht so scheint - permanent Reinigungsmittel und Toilettenpapier kaufen. Diese ganzen Kosten holen wir über den Getränke "Gewinn" rein. Unser wichtigster Partner in allen Ausbau und Anschaffungsfragen ist die Landesarbeitsgemeinschaft Soziokultur. Das Versammlungsstättenrecht nötigt selbst kleinen Zentren wie dem Bunten HAus zur Einhaltung einer Menge Vorschriften. Das fängt bei der Anzahl der Toiletten an, geht weiter über Feuerlöscher und Fluchtwegbeschilderung, und endet nicht bei der Lüftungsanlage, die jetzt in der Halle eingebaut wurde. Diese Investitionen wären ohne die Unterstützung der LAGS nicht möglich gewesen. Das Bunte Haus hatte zu allen diesen Investitionen einen Eigenanteil von 5 - 10% aufzubringen. Aus dem laufenden Betrieb wäre dies nicht zu erwirtschaften gewesen; allein zum Teil nicht unerhebliche Spenden machten es möglich, den jeweiligen Eigenanteil zu finanzieren. Wie immer, wenn es um Finanzen geht, hier der obligatorische SPENDENAUFRUF. Das Bunte Haus e.V. ist gemeinnützig. Jede Spende kann also bei der Steuererklärung geltend gemacht werden. Wer im doppelten Sinne für uns etwas über hat.
|
Und Kosten haben wir immer. Feind Nr. 1 ist die "Gesellschaft für musikalische Aufführungs- und mechanische Vervielfältigungsrechte" (Gema), die sobald ein Ton erklingt die Hand aufhält. Bei Parties ist es nicht nur die Gema, es muss auch eine PA- und Lichtanlage geliehen werden. Und auch die Gagen für DJ's werden halt über den Eintritt finanziert. Und diese Kosten verteilen wir nach Möglichkeit auf die BesucherInnen. Doch schon der Alltag produziert Kosten, auch wenn die Räumlichkeiten von der Betriebsführungs - GmbH mietfrei zur Verfügung gestellt werden und selbst Mietnebenkosten bis zu einer monatlichen Obergrenze von 400€ frei sind. Aber: Wir zahlen Versicherung für den Fall, dass jemanden eine Box auf den Fuss fällt, zahlen die Abfallgebühr für den unvermeidlichen Müll, halten Internet und Telefon vor und müssen - auch wenn es manchmal nicht so scheint - permanent Reinigungsmittel und Toilettenpapier kaufen. Diese ganzen Kosten holen wir über den Getränke "Gewinn" rein. Unser wichtigster Partner in allen Ausbau und Anschaffungsfragen ist die Landesarbeitsgemeinschaft Soziokultur. Das Versammlungsstättenrecht nötigt selbst kleinen Zentren wie dem Bunten HAus zur Einhaltung einer Menge Vorschriften. Das fängt bei der Anzahl der Toiletten an, geht weiter über Feuerlöscher und Fluchtwegbeschilderung, und endet nicht bei der Lüftungsanlage, die jetzt in der Halle eingebaut wurde. Diese Investitionen wären ohne die Unterstützung der LAGS nicht möglich gewesen. Das Bunte Haus hatte zu allen diesen Investitionen einen Eigenanteil von 5 - 10% aufzubringen. Aus dem laufenden Betrieb wäre dies nicht zu erwirtschaften gewesen; allein zum Teil nicht unerhebliche Spenden machten es möglich, den jeweiligen Eigenanteil zu finanzieren. Wie immer, wenn es um Finanzen geht, hier der obligatorische SPENDENAUFRUF. Das Bunte Haus e.V. ist gemeinnützig. Jede Spende kann also bei der Steuererklärung geltend gemacht werden. Wer im doppelten Sinne für uns etwas über hat.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 328 KiB After Width: | Height: | Size: 328 KiB |
Before Width: | Height: | Size: 358 KiB After Width: | Height: | Size: 358 KiB |
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "Food Saving"
|
title: "Food Saving"
|
||||||
date: "2021-02-04T19:00:00+02:00"
|
date: "2021-02-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
when: "Jeden Mittwoch 18:30-19:00Uhr & Samstags 15:00-15:30Uhr"
|
when: "Jeden Mittwoch 18:30-19:00Uhr & Samstags 15:00-15:30Uhr"
|
||||||
categories: ["recurrent"]
|
events: ["recurrent"]
|
||||||
contact: "foodsavingcelle@riseup.net"
|
contact: "foodsavingcelle@riseup.net"
|
||||||
---
|
---
|
||||||
Die kostenfreie Verteilung von gespendeten und geretteten Lebensmitteln geht auch nach der Wiedereröffnung der Tafel weiter. Wann? Immer Mittwochs von 18.30 bis 19 Uhr und Samstags von 15 bis 15.30 Uhr. Spenden? Mitmachen? Wer mitmachen oder uns unterstützen möchte, kann sich per Mail melden, sodass wir bei Bedarf nachfragen können.
|
Die kostenfreie Verteilung von gespendeten und geretteten Lebensmitteln geht auch nach der Wiedereröffnung der Tafel weiter. Wann? Immer Mittwochs von 18.30 bis 19 Uhr und Samstags von 15 bis 15.30 Uhr. Spenden? Mitmachen? Wer mitmachen oder uns unterstützen möchte, kann sich per Mail melden, sodass wir bei Bedarf nachfragen können.
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Aus der Geschichte des Bunten Hauses"
|
title: "Aus der Geschichte des Bunten Hauses"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
---
|
---
|
||||||
Als Zeugungsdatum des Bunten Hauses können wir im Nachhinein den 4. September 1993 angeben, als ein Dutzend junger Leute das seit Jahren leerstehende ehemalige Naafi-Gebäude am Neumarkt besetzten und an einem "Tag der offenen Tür" einluden, sich ein Bild vom Zustand des Hauses und seiner Eignung als Kulturzentrum zu machen. Doch wie bei Zeugungsakten üblich, war es ein vergleichsweise kurzes Vergnügen. Und doch hatte sich schon ein Name für das Kind ergeben: "Ein Buntes Haus in einer toten Stadt" stand auf den aus den Fenstern gehängten Transparenten wie auch: "Kultur für alle".
|
Als Zeugungsdatum des Bunten Hauses können wir im Nachhinein den 4. September 1993 angeben, als ein Dutzend junger Leute das seit Jahren leerstehende ehemalige Naafi-Gebäude am Neumarkt besetzten und an einem "Tag der offenen Tür" einluden, sich ein Bild vom Zustand des Hauses und seiner Eignung als Kulturzentrum zu machen. Doch wie bei Zeugungsakten üblich, war es ein vergleichsweise kurzes Vergnügen. Und doch hatte sich schon ein Name für das Kind ergeben: "Ein Buntes Haus in einer toten Stadt" stand auf den aus den Fenstern gehängten Transparenten wie auch: "Kultur für alle".
|
||||||
|
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 561 KiB After Width: | Height: | Size: 561 KiB |
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Homepage"
|
title: "Homepage"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
---
|
---
|
||||||
Als Gruppe überlegen wir uns, welche Hardware nötig ist und welche Software wir benutzen um diese Homepage zu betreiben.
|
Als Gruppe überlegen wir uns, welche Hardware nötig ist und welche Software wir benutzen um diese Homepage zu betreiben.
|
||||||
Wir haben uns für [hugo](https://de.wikipedia.org/wiki/Hugo_(Software)) entschieden, da wir so die Sicherheitslücken von PHP und JOOMLA oder ähnliche CMS umgehen und liefern nur statische Webseiten aus.
|
Wir haben uns für [hugo](https://de.wikipedia.org/wiki/Hugo_(Software)) entschieden, da wir so die Sicherheitslücken von PHP und JOOMLA oder ähnliche CMS umgehen und liefern nur statische Webseiten aus.
|
Before Width: | Height: | Size: 593 KiB After Width: | Height: | Size: 593 KiB |
|
@ -2,7 +2,8 @@
|
||||||
title: "Plenum"
|
title: "Plenum"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
when: "jeden Monat am ersten und dritten Donnerstag, 19:00Uhr"
|
when: "jeden Monat am ersten und dritten Donnerstag, 19:00Uhr"
|
||||||
categories: ["recurrent"]
|
about: true
|
||||||
|
events: ["recurrent"]
|
||||||
tags: [ "Plenum" ]
|
tags: [ "Plenum" ]
|
||||||
covid: "3g"
|
covid: "3g"
|
||||||
price: "free"
|
price: "free"
|
13
content/news/plenum/index.en.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: "Plenum"
|
||||||
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
when: "jeden Monat am ersten und dritten Donnerstag, 19:00Uhr"
|
||||||
|
about: true
|
||||||
|
events: ["recurrent"]
|
||||||
|
tags: [ "Plenum" ]
|
||||||
|
covid: "3g"
|
||||||
|
price: "free"
|
||||||
|
---
|
||||||
|
Das Plenum des Bunten Hauses findet jeden Donnerstag um 19.00 Uhr statt. Das Plenum ist offen für alle, die sich im Bunten Haus einbringen möchten.<!--more-->
|
||||||
|
|
||||||
|
An jedem ersten Donnerstag im Monat findet ein Delegierten-Plenum statt, an dem von jedem Arbeitsbereich und jeder im Bunten Haus aktiven Gruppe mindestens eine delegierte Person teilnimmt.
|
8
content/news/plenum/index.ku.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: "Plenum"
|
||||||
|
date: 2021-06-22T10:54:20+02:00
|
||||||
|
description: "Plenum"
|
||||||
|
about: true
|
||||||
|
events: [ "Plenum", "recurrent" ]
|
||||||
|
---
|
||||||
|
Em li vir serleşker in
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Zeitungsprojekt Revista"
|
title: "Zeitungsprojekt Revista"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
---
|
---
|
||||||
Was ist Revista? Revista ist spanisch und heißt Zeitung, und genau das sind wir, eine Zeitung. Die revista ist ein relativ neues Projekt, die erste Ausgabe erschien um Oktober 1999.
|
Was ist Revista? Revista ist spanisch und heißt Zeitung, und genau das sind wir, eine Zeitung. Die revista ist ein relativ neues Projekt, die erste Ausgabe erschien um Oktober 1999.
|
||||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Selbstbestimmung / Selbstverwaltung"
|
title: "Selbstbestimmung / Selbstverwaltung"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
---
|
---
|
||||||
Wenn es im Bunten Haus so etwas wie einen utopischen Gehalt gibt, ist's schlicht die Selbstverwaltung. Dabei geht's nur am Rande um die Form - denn in diesem Sinne hat ja jeder Kleingartenverein seine Selbstverwaltungsorgane - es geht um Selbstverwaltung als sozialem Kern des Ganzen. Selbstverwaltung meint dabei das Offensein für das Mögliche. Und: Selbstverwaltung macht nur im Einklang mit Selbstbestimmung einen Sinn. Die Entscheidung darüber, was im Zentrum läuft oder nicht, liegt bei denen, die das Zentrum betreiben - aber: JedeR kann dazu gehören und jede Stimme sollte ein gleiches Gewicht haben.
|
Wenn es im Bunten Haus so etwas wie einen utopischen Gehalt gibt, ist's schlicht die Selbstverwaltung. Dabei geht's nur am Rande um die Form - denn in diesem Sinne hat ja jeder Kleingartenverein seine Selbstverwaltungsorgane - es geht um Selbstverwaltung als sozialem Kern des Ganzen. Selbstverwaltung meint dabei das Offensein für das Mögliche. Und: Selbstverwaltung macht nur im Einklang mit Selbstbestimmung einen Sinn. Die Entscheidung darüber, was im Zentrum läuft oder nicht, liegt bei denen, die das Zentrum betreiben - aber: JedeR kann dazu gehören und jede Stimme sollte ein gleiches Gewicht haben.
|
||||||
|
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Soziokultur"
|
title: "Soziokultur"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
|
about: true
|
||||||
---
|
---
|
||||||
In größeren Städten gehören soziokulturelle Zentren seit Ende der 1970er Jahre zur Lebensqualität. Der "Pavillon" in Hannover oder die "Lagerhalle" in Osnabrück sind heute überregional bekannt. In den 1990er Jahren hat sich Soziokultur vermehrt auch in der Provinz Räumen erobert.
|
In größeren Städten gehören soziokulturelle Zentren seit Ende der 1970er Jahre zur Lebensqualität. Der "Pavillon" in Hannover oder die "Lagerhalle" in Osnabrück sind heute überregional bekannt. In den 1990er Jahren hat sich Soziokultur vermehrt auch in der Provinz Räumen erobert.
|
||||||
|
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
@ -2,7 +2,8 @@
|
||||||
title: "Umsonstladen"
|
title: "Umsonstladen"
|
||||||
date: "1993-09-04T19:00:00+02:00"
|
date: "1993-09-04T19:00:00+02:00"
|
||||||
when: "Jeden Dienstag von 16.00 bis 18.00 Uhr"
|
when: "Jeden Dienstag von 16.00 bis 18.00 Uhr"
|
||||||
categories: ["recurrent"]
|
about: true
|
||||||
|
events: ["recurrent"]
|
||||||
price: "free"
|
price: "free"
|
||||||
covid: "3g"
|
covid: "3g"
|
||||||
---
|
---
|
|
@ -1,6 +1,13 @@
|
||||||
---
|
---
|
||||||
title: ""
|
title: ""
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
categories: ""
|
newscategories: []
|
||||||
tags: ["",]
|
eventcategories: []
|
||||||
|
when: ""
|
||||||
|
featured: false
|
||||||
|
covid: ""
|
||||||
|
contact: ""
|
||||||
|
price: ""
|
||||||
|
draft: false
|
||||||
|
tags: []
|
||||||
---
|
---
|
||||||
|
|
|
@ -157,6 +157,16 @@ article h3 {
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#article_footer {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
font-size: x-small;
|
||||||
|
border-top: 1px solid var(--background);
|
||||||
|
color: var(--text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
.articlebgcol1 {
|
.articlebgcol1 {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
}
|
}
|
||||||
|
@ -170,6 +180,23 @@ article h3 {
|
||||||
user-select: all;
|
user-select: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label,textarea {
|
||||||
|
width: 100%;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
max-width: 58.5rem;
|
||||||
|
border-color: var(--background-alt);
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
border-color: var(--background-alt);
|
||||||
|
background-color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
.underline {
|
.underline {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -253,6 +280,10 @@ article h3 {
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#article_footer {
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Medium devices (landscape tablets, 768px and up) */
|
/* Medium devices (landscape tablets, 768px and up) */
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
[home]
|
[news]
|
||||||
other = "Startseite"
|
other = "News"
|
||||||
|
|
||||||
[executive]
|
|
||||||
other = "Vorstand"
|
|
||||||
|
|
||||||
[and]
|
|
||||||
other = "und"
|
|
||||||
|
|
||||||
[events]
|
[events]
|
||||||
other = "Termine"
|
other = "Events"
|
||||||
|
|
||||||
[event]
|
[contact]
|
||||||
other = "Termin"
|
other = "Kontakt"
|
||||||
|
|
||||||
|
[pobox]
|
||||||
|
other = "Posfach"
|
||||||
|
|
||||||
|
[phone]
|
||||||
|
other = "Telefon"
|
||||||
|
|
||||||
|
[mail]
|
||||||
|
other = "E-Mail"
|
||||||
|
|
||||||
[archive]
|
[archive]
|
||||||
other = "Archiv"
|
other = "Archiv"
|
||||||
|
@ -19,233 +22,17 @@ other = "Archiv"
|
||||||
[imprint]
|
[imprint]
|
||||||
other = "Impressum"
|
other = "Impressum"
|
||||||
|
|
||||||
[recent_posts]
|
[about]
|
||||||
other = "Aktuelle Beiträge"
|
other = "Über uns"
|
||||||
|
|
||||||
[featured_posts]
|
|
||||||
other = "Wichtig"
|
|
||||||
|
|
||||||
[no]
|
|
||||||
other = "Nein"
|
|
||||||
|
|
||||||
[yes]
|
|
||||||
other = "Ja"
|
|
||||||
|
|
||||||
[recurrent]
|
|
||||||
other = "Feste Termine"
|
|
||||||
|
|
||||||
[contact]
|
|
||||||
other = "Kontakt"
|
|
||||||
|
|
||||||
[dataprotection]
|
|
||||||
other = "Datenschutz"
|
|
||||||
|
|
||||||
[mail]
|
|
||||||
other = "Email"
|
|
||||||
|
|
||||||
[tel]
|
|
||||||
other = "Telefon"
|
|
||||||
|
|
||||||
[news]
|
|
||||||
other = "Neuigkeiten"
|
|
||||||
|
|
||||||
[from]
|
|
||||||
other = "ab"
|
|
||||||
|
|
||||||
[at]
|
|
||||||
other = "am"
|
|
||||||
|
|
||||||
[everyfemale]
|
|
||||||
other = "jede"
|
|
||||||
|
|
||||||
[everymale]
|
|
||||||
other = "jeden"
|
|
||||||
|
|
||||||
[everysubject]
|
|
||||||
other = "jedes"
|
|
||||||
|
|
||||||
[since]
|
|
||||||
other = "seit"
|
|
||||||
|
|
||||||
[days]
|
|
||||||
other = "Tage"
|
|
||||||
|
|
||||||
[calendar]
|
|
||||||
other = "Kalender"
|
|
||||||
|
|
||||||
[MO]
|
|
||||||
other = "Montag"
|
|
||||||
[TU]
|
|
||||||
other = "Dienstag"
|
|
||||||
[WE]
|
|
||||||
other = "Mittwoch"
|
|
||||||
[TH]
|
|
||||||
other = "Donnerstag"
|
|
||||||
[FR]
|
|
||||||
other = "Freitag"
|
|
||||||
[SA]
|
|
||||||
other = "Samstag"
|
|
||||||
[SU]
|
|
||||||
other = "Sonntag"
|
|
||||||
|
|
||||||
[date]
|
|
||||||
other = "Datum"
|
|
||||||
|
|
||||||
[time]
|
|
||||||
other = "Zeit"
|
|
||||||
|
|
||||||
[categories]
|
|
||||||
other = "Kategorien"
|
|
||||||
|
|
||||||
[tags]
|
|
||||||
other = "Tags"
|
|
||||||
|
|
||||||
[repeat]
|
|
||||||
other = "Wiederholen"
|
|
||||||
|
|
||||||
[end]
|
|
||||||
other = "Ende"
|
|
||||||
|
|
||||||
[after]
|
|
||||||
other = "nach"
|
|
||||||
|
|
||||||
[never]
|
|
||||||
other = "niemals"
|
|
||||||
|
|
||||||
[duration]
|
|
||||||
other = "Dauer"
|
|
||||||
|
|
||||||
[minutes]
|
|
||||||
other = "Minuten"
|
|
||||||
|
|
||||||
[daily]
|
|
||||||
other = "Täglich"
|
|
||||||
|
|
||||||
[DAILY]
|
|
||||||
other = "Tag"
|
|
||||||
|
|
||||||
[weekly]
|
|
||||||
other = "Wöchentlich"
|
|
||||||
|
|
||||||
[WEEKLY]
|
|
||||||
other = "Woche"
|
|
||||||
|
|
||||||
[monthly]
|
|
||||||
other = "Monatlich"
|
|
||||||
|
|
||||||
[MONTHLY]
|
|
||||||
other = "Monat"
|
|
||||||
|
|
||||||
[yearly]
|
|
||||||
other = "Jährlich"
|
|
||||||
|
|
||||||
[YEARLY]
|
|
||||||
other = "Jahr"
|
|
||||||
|
|
||||||
[title]
|
|
||||||
other = "Titel"
|
|
||||||
|
|
||||||
[description]
|
|
||||||
other = "Beschreibung"
|
|
||||||
|
|
||||||
[location]
|
|
||||||
other = "Ort"
|
|
||||||
|
|
||||||
[subject]
|
|
||||||
other = "Inhalt"
|
|
||||||
|
|
||||||
[new]
|
|
||||||
other = "Neu"
|
|
||||||
|
|
||||||
[generate]
|
|
||||||
other = "Generieren"
|
|
||||||
|
|
||||||
[first]
|
|
||||||
other = "Ersten"
|
|
||||||
|
|
||||||
[second]
|
|
||||||
other = "Zweiten"
|
|
||||||
|
|
||||||
[third]
|
|
||||||
other = "Dritten"
|
|
||||||
|
|
||||||
[fourth]
|
|
||||||
other = "Vierten"
|
|
||||||
|
|
||||||
[last]
|
|
||||||
other = "Letzten"
|
|
||||||
|
|
||||||
[Jan]
|
|
||||||
other = "Januar"
|
|
||||||
|
|
||||||
[Feb]
|
|
||||||
other = "Februar"
|
|
||||||
|
|
||||||
[Mar]
|
|
||||||
other = "März"
|
|
||||||
|
|
||||||
[Apr]
|
|
||||||
other = "April"
|
|
||||||
|
|
||||||
[May]
|
|
||||||
other = "Mai"
|
|
||||||
|
|
||||||
[Jun]
|
|
||||||
other = "Juni"
|
|
||||||
|
|
||||||
[Jul]
|
|
||||||
other = "Juli"
|
|
||||||
|
|
||||||
[Aug]
|
|
||||||
other = "August"
|
|
||||||
|
|
||||||
[Sep]
|
|
||||||
other = "September"
|
|
||||||
|
|
||||||
[Oct]
|
|
||||||
other = "Oktober"
|
|
||||||
|
|
||||||
[Nov]
|
|
||||||
other = "November"
|
|
||||||
|
|
||||||
[Dec]
|
|
||||||
other = "December"
|
|
||||||
|
|
||||||
[price]
|
|
||||||
other = "Eintritt"
|
|
||||||
|
|
||||||
[nothing]
|
|
||||||
other = "nichts"
|
|
||||||
|
|
||||||
[entry]
|
|
||||||
other = "Eintritt"
|
|
||||||
|
|
||||||
[free]
|
|
||||||
other = "Eintritt ist kostenlos."
|
|
||||||
|
|
||||||
[upcoming]
|
|
||||||
other = "Anstehende Events"
|
|
||||||
|
|
||||||
[readmore]
|
[readmore]
|
||||||
other = "weiterlesen"
|
other = "weiterlesen"
|
||||||
|
|
||||||
[about]
|
[categories]
|
||||||
other = "Über uns"
|
other = "Kategorien"
|
||||||
|
|
||||||
[featured]
|
[category]
|
||||||
other = "Wichtige Neuigkeiten"
|
other = "Kategorie"
|
||||||
|
|
||||||
[all]
|
[recurrent]
|
||||||
other = "Alle"
|
other = "Regelmäßig"
|
||||||
|
|
||||||
[ku]
|
|
||||||
other = "Kurdî"
|
|
||||||
|
|
||||||
[en]
|
|
||||||
other = "English"
|
|
||||||
|
|
||||||
[de]
|
|
||||||
other = "Deutsch"
|
|
||||||
|
|
||||||
[translations]
|
|
||||||
other = "Übersetzungen"
|
|
257
themes/buha/i18n/old_de.toml
Normal file
|
@ -0,0 +1,257 @@
|
||||||
|
[home]
|
||||||
|
other = "Startseite"
|
||||||
|
|
||||||
|
[executive]
|
||||||
|
other = "Vorstand"
|
||||||
|
|
||||||
|
[and]
|
||||||
|
other = "und"
|
||||||
|
|
||||||
|
[events]
|
||||||
|
other = "Termine"
|
||||||
|
|
||||||
|
[event]
|
||||||
|
other = "Termin"
|
||||||
|
|
||||||
|
[archive]
|
||||||
|
other = "Archiv"
|
||||||
|
|
||||||
|
[imprint]
|
||||||
|
other = "Impressum"
|
||||||
|
|
||||||
|
[recent_posts]
|
||||||
|
other = "Aktuelle Beiträge"
|
||||||
|
|
||||||
|
[featured_posts]
|
||||||
|
other = "Wichtig"
|
||||||
|
|
||||||
|
[no]
|
||||||
|
other = "Nein"
|
||||||
|
|
||||||
|
[yes]
|
||||||
|
other = "Ja"
|
||||||
|
|
||||||
|
[recurrent]
|
||||||
|
other = "Feste Termine"
|
||||||
|
|
||||||
|
[contact]
|
||||||
|
other = "Kontakt"
|
||||||
|
|
||||||
|
[dataprotection]
|
||||||
|
other = "Datenschutz"
|
||||||
|
|
||||||
|
[mail]
|
||||||
|
other = "Email"
|
||||||
|
|
||||||
|
[tel]
|
||||||
|
other = "Telefon"
|
||||||
|
|
||||||
|
[news]
|
||||||
|
other = "Neuigkeiten"
|
||||||
|
|
||||||
|
[from]
|
||||||
|
other = "ab"
|
||||||
|
|
||||||
|
[at]
|
||||||
|
other = "am"
|
||||||
|
|
||||||
|
[everyfemale]
|
||||||
|
other = "jede"
|
||||||
|
|
||||||
|
[everymale]
|
||||||
|
other = "jeden"
|
||||||
|
|
||||||
|
[everysubject]
|
||||||
|
other = "jedes"
|
||||||
|
|
||||||
|
[since]
|
||||||
|
other = "seit"
|
||||||
|
|
||||||
|
[days]
|
||||||
|
other = "Tage"
|
||||||
|
|
||||||
|
[calendar]
|
||||||
|
other = "Kalender"
|
||||||
|
|
||||||
|
[MO]
|
||||||
|
other = "Montag"
|
||||||
|
[TU]
|
||||||
|
other = "Dienstag"
|
||||||
|
[WE]
|
||||||
|
other = "Mittwoch"
|
||||||
|
[TH]
|
||||||
|
other = "Donnerstag"
|
||||||
|
[FR]
|
||||||
|
other = "Freitag"
|
||||||
|
[SA]
|
||||||
|
other = "Samstag"
|
||||||
|
[SU]
|
||||||
|
other = "Sonntag"
|
||||||
|
|
||||||
|
[date]
|
||||||
|
other = "Datum"
|
||||||
|
|
||||||
|
[time]
|
||||||
|
other = "Zeit"
|
||||||
|
|
||||||
|
[categories]
|
||||||
|
other = "Kategorien"
|
||||||
|
|
||||||
|
[tags]
|
||||||
|
other = "Tags"
|
||||||
|
|
||||||
|
[repeat]
|
||||||
|
other = "Wiederholen"
|
||||||
|
|
||||||
|
[end]
|
||||||
|
other = "Ende"
|
||||||
|
|
||||||
|
[after]
|
||||||
|
other = "nach"
|
||||||
|
|
||||||
|
[never]
|
||||||
|
other = "niemals"
|
||||||
|
|
||||||
|
[duration]
|
||||||
|
other = "Dauer"
|
||||||
|
|
||||||
|
[minutes]
|
||||||
|
other = "Minuten"
|
||||||
|
|
||||||
|
[daily]
|
||||||
|
other = "Täglich"
|
||||||
|
|
||||||
|
[DAILY]
|
||||||
|
other = "Tag"
|
||||||
|
|
||||||
|
[weekly]
|
||||||
|
other = "Wöchentlich"
|
||||||
|
|
||||||
|
[WEEKLY]
|
||||||
|
other = "Woche"
|
||||||
|
|
||||||
|
[monthly]
|
||||||
|
other = "Monatlich"
|
||||||
|
|
||||||
|
[MONTHLY]
|
||||||
|
other = "Monat"
|
||||||
|
|
||||||
|
[yearly]
|
||||||
|
other = "Jährlich"
|
||||||
|
|
||||||
|
[YEARLY]
|
||||||
|
other = "Jahr"
|
||||||
|
|
||||||
|
[title]
|
||||||
|
other = "Titel"
|
||||||
|
|
||||||
|
[description]
|
||||||
|
other = "Beschreibung"
|
||||||
|
|
||||||
|
[location]
|
||||||
|
other = "Ort"
|
||||||
|
|
||||||
|
[subject]
|
||||||
|
other = "Inhalt"
|
||||||
|
|
||||||
|
[new]
|
||||||
|
other = "Neu"
|
||||||
|
|
||||||
|
[generate]
|
||||||
|
other = "Generieren"
|
||||||
|
|
||||||
|
[first]
|
||||||
|
other = "Ersten"
|
||||||
|
|
||||||
|
[second]
|
||||||
|
other = "Zweiten"
|
||||||
|
|
||||||
|
[third]
|
||||||
|
other = "Dritten"
|
||||||
|
|
||||||
|
[fourth]
|
||||||
|
other = "Vierten"
|
||||||
|
|
||||||
|
[last]
|
||||||
|
other = "Letzten"
|
||||||
|
|
||||||
|
[Jan]
|
||||||
|
other = "Januar"
|
||||||
|
|
||||||
|
[Feb]
|
||||||
|
other = "Februar"
|
||||||
|
|
||||||
|
[Mar]
|
||||||
|
other = "März"
|
||||||
|
|
||||||
|
[Apr]
|
||||||
|
other = "April"
|
||||||
|
|
||||||
|
[May]
|
||||||
|
other = "Mai"
|
||||||
|
|
||||||
|
[Jun]
|
||||||
|
other = "Juni"
|
||||||
|
|
||||||
|
[Jul]
|
||||||
|
other = "Juli"
|
||||||
|
|
||||||
|
[Aug]
|
||||||
|
other = "August"
|
||||||
|
|
||||||
|
[Sep]
|
||||||
|
other = "September"
|
||||||
|
|
||||||
|
[Oct]
|
||||||
|
other = "Oktober"
|
||||||
|
|
||||||
|
[Nov]
|
||||||
|
other = "November"
|
||||||
|
|
||||||
|
[Dec]
|
||||||
|
other = "December"
|
||||||
|
|
||||||
|
[price]
|
||||||
|
other = "Eintritt"
|
||||||
|
|
||||||
|
[nothing]
|
||||||
|
other = "nichts"
|
||||||
|
|
||||||
|
[entry]
|
||||||
|
other = "Eintritt"
|
||||||
|
|
||||||
|
[free]
|
||||||
|
other = "Eintritt ist kostenlos."
|
||||||
|
|
||||||
|
[upcoming]
|
||||||
|
other = "Anstehende Events"
|
||||||
|
|
||||||
|
[readmore]
|
||||||
|
other = "weiterlesen"
|
||||||
|
|
||||||
|
[about]
|
||||||
|
other = "Über uns"
|
||||||
|
|
||||||
|
[featured]
|
||||||
|
other = "Wichtige Neuigkeiten"
|
||||||
|
|
||||||
|
[all]
|
||||||
|
other = "Alle"
|
||||||
|
|
||||||
|
[ku]
|
||||||
|
other = "Kurdî"
|
||||||
|
|
||||||
|
[en]
|
||||||
|
other = "English"
|
||||||
|
|
||||||
|
[de]
|
||||||
|
other = "Deutsch"
|
||||||
|
|
||||||
|
[translations]
|
||||||
|
other = "Übersetzungen"
|
||||||
|
|
||||||
|
[pinned]
|
||||||
|
other = "Angepinnt"
|
||||||
|
|
||||||
|
[when]
|
||||||
|
other = "Wann"
|
|
@ -19,6 +19,7 @@
|
||||||
{{ block "sidebar" . -}}{{- end }}
|
{{ block "sidebar" . -}}{{- end }}
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
|
{{ block "ab" . -}}{{- end }}
|
||||||
<footer>
|
<footer>
|
||||||
{{- partial "structure/footer" . -}}
|
{{- partial "structure/footer" . -}}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -12,185 +12,7 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "main" -}}
|
{{- define "main" -}}
|
||||||
{{ $s := .Site.Params }}
|
{{ partial "list/misc.html" . }}
|
||||||
|
|
||||||
{{- $paginator := slice -}}
|
|
||||||
{{- $posts := where .Site.RegularPages "Type" "in" $s.mainSections }}
|
|
||||||
{{ $meta := "false" }}
|
|
||||||
{{- if eq .Section "events" -}}
|
|
||||||
{{- $paginator = .Paginate (where site.RegularPages.ByDate.Reverse ".Params.when" "ne" nil) -}}
|
|
||||||
{{- else if eq .Section "news" }}
|
|
||||||
{{- $paginator = .Paginate (where (where .Site.RegularPages.ByDate.Reverse "Permalink" "!=" .Permalink) "Type" "in" .Site.Params.mainSections) }}
|
|
||||||
{{- else if eq .Section "featured" }}
|
|
||||||
{{- $paginator = .Paginate (where $posts "Params.featured" true) -}}
|
|
||||||
{{- else if eq .Section "recurrent" }}
|
|
||||||
{{- $paginator = .Paginate (where .Site.RegularPages "Params.recurrent" true) -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- $paginator = .Paginate .RegularPagesRecursive.ByDate.Reverse -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{ if eq $paginator.PageNumber 1 }}
|
|
||||||
{{ if ne .Content "" }}
|
|
||||||
<article>
|
|
||||||
{{ .Content }}
|
|
||||||
</article>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{- range first 5 $paginator.Pages -}}
|
|
||||||
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
|
|
||||||
<div id="articletitle">
|
|
||||||
<h2>{{- .Title -}}</h2>
|
|
||||||
</div>
|
|
||||||
<div id="articlecontent">
|
|
||||||
<div id="articlemeta">
|
|
||||||
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
|
||||||
<div style="margin-bottom: .4em;"><b>{{ .Params.when }}</b></div>
|
|
||||||
{{ $meta = "true" }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
|
||||||
{{ if eq .Params.price "free" }}
|
|
||||||
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
|
||||||
{{ $meta = "true" }}
|
|
||||||
{{ else }}
|
|
||||||
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
|
||||||
{{ $meta = "true" }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<div id="articleinner">
|
|
||||||
<div id="articledata">
|
|
||||||
{{- if .Resources.ByType "image" -}}
|
|
||||||
{{- $pic := index (.Resources.ByType "image") 0 -}}
|
|
||||||
{{ $thumb := "" }}
|
|
||||||
{{ if eq .Content "" }}
|
|
||||||
<div class="notext">
|
|
||||||
{{- $thumb = $pic.Resize "1024x" }}
|
|
||||||
{{ else }}
|
|
||||||
<div class="text">
|
|
||||||
{{- $thumb = $pic.Resize "2048x" }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<img src="{{- $thumb.Permalink -}}"/>
|
|
||||||
</div>
|
|
||||||
{{- end }}
|
|
||||||
<div id="articletext">
|
|
||||||
{{- if .Params.description -}}
|
|
||||||
{{- .Params.description -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- .Summary -}}
|
|
||||||
{{- end }}
|
|
||||||
{{ if .Truncated }}
|
|
||||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a></article>
|
|
||||||
|
|
||||||
{{- end }}
|
|
||||||
<div id="pagination">
|
|
||||||
<!-- Number of links either side of the current page. -->
|
|
||||||
{{ $adjacent_links := 2 }}
|
|
||||||
|
|
||||||
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
|
||||||
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
|
||||||
|
|
||||||
<!-- $lower_limit = $adjacent_links + 1 -->
|
|
||||||
{{ $lower_limit := (add $adjacent_links 1) }}
|
|
||||||
|
|
||||||
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
|
||||||
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
|
||||||
|
|
||||||
<!-- If there's more than one page. -->
|
|
||||||
{{ if gt $paginator.TotalPages 1 }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- First page. -->
|
|
||||||
{{ if ne $paginator.PageNumber 1 }}
|
|
||||||
<a class="pagination__link pagination__link--first" href="{{ $paginator.First.URL }}">
|
|
||||||
««
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Previous page. -->
|
|
||||||
{{ if $paginator.HasPrev }}
|
|
||||||
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">
|
|
||||||
«
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Page numbers. -->
|
|
||||||
{{ range $paginator.Pagers }}
|
|
||||||
|
|
||||||
{{ $.Scratch.Set "page_number_flag" false }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Advanced page numbers. -->
|
|
||||||
{{ if gt $paginator.TotalPages $max_links }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Lower limit pages. -->
|
|
||||||
<!-- If the user is on a page which is in the lower limit. -->
|
|
||||||
{{ if le $paginator.PageNumber $lower_limit }}
|
|
||||||
|
|
||||||
<!-- If the current loop page is less than max_links. -->
|
|
||||||
{{ if le .PageNumber $max_links }}
|
|
||||||
{{ $.Scratch.Set "page_number_flag" true }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Upper limit pages. -->
|
|
||||||
<!-- If the user is on a page which is in the upper limit. -->
|
|
||||||
{{ else if ge $paginator.PageNumber $upper_limit }}
|
|
||||||
|
|
||||||
<!-- If the current loop page is greater than total pages minus $max_links -->
|
|
||||||
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
|
||||||
{{ $.Scratch.Set "page_number_flag" true }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Middle pages. -->
|
|
||||||
{{ else }}
|
|
||||||
|
|
||||||
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
|
||||||
{{ $.Scratch.Set "page_number_flag" true }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Simple page numbers. -->
|
|
||||||
{{ else }}
|
|
||||||
|
|
||||||
{{ $.Scratch.Set "page_number_flag" true }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Output page numbers. -->
|
|
||||||
{{ if eq ($.Scratch.Get "page_number_flag") true }}
|
|
||||||
<a href="{{ .URL }}" class="pagination__link">
|
|
||||||
{{ .PageNumber }}
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Next page. -->
|
|
||||||
{{ if $paginator.HasNext }}
|
|
||||||
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">
|
|
||||||
»
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- Last page. -->
|
|
||||||
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
|
||||||
<a class="pagination__link pagination__link--last" href="{{ $paginator.Last.URL }}">
|
|
||||||
»»
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{ define "sidebar" }}
|
{{ define "sidebar" }}
|
||||||
|
|
|
@ -10,3 +10,28 @@
|
||||||
{{ partial "single/article" . }}
|
{{ partial "single/article" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "ab" }}
|
||||||
|
<div id="article_footer">
|
||||||
|
{{ if .IsTranslated }}
|
||||||
|
<div style="flex-grow: 0; flex-direction: column; margin-right: 1rem;">
|
||||||
|
<b>{{ "Translations" }}</b>
|
||||||
|
{{ range .Translations }}
|
||||||
|
<li style="list-style: none; text-decoration: none; font-size: x-small; color: var(--text-muted);">
|
||||||
|
<a href="{{ .Permalink }}" class="underline">{{ T .Lang }}</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
<div style="flex-grow: 1; flex-direction: column;">
|
||||||
|
<b>Verfasst am</b><br>
|
||||||
|
{{ .Date | time.Format ":date_full" }}
|
||||||
|
</div>
|
||||||
|
{{ if ne .Date .Lastmod }}
|
||||||
|
<div style="flex-grow: 1; flex-direction: column;">
|
||||||
|
<b>zuletzt geändert</b><br>
|
||||||
|
{{ .Lastmod | time.Format ":date_full" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
45
themes/buha/layouts/_default/taxonomy.html
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{{- define "title" -}}
|
||||||
|
{{ $name := .Name | lower }}
|
||||||
|
{{ if ne ($name | i18n) "" }}
|
||||||
|
{{ $name = $name | i18n }}
|
||||||
|
{{ else }}
|
||||||
|
{{ if ne .Section "events" }}
|
||||||
|
{{ $name = $name | singularize }}
|
||||||
|
{{ end }}
|
||||||
|
{{ $name = $name | humanize }}
|
||||||
|
{{ end }}
|
||||||
|
{{ $name }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "main" -}}
|
||||||
|
{{ $title := lower .Title }}
|
||||||
|
{{ $s := .Site.Params }}
|
||||||
|
{{- $paginator := slice -}}
|
||||||
|
{{ $what := printf ".Params.%s" $title }}
|
||||||
|
{{ if or (eq $title "about") (eq $title "featured") }}
|
||||||
|
{{- $paginator = .Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) $what "eq" true) -}}
|
||||||
|
{{ else if eq $title "events" }}
|
||||||
|
{{- $paginator = .Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.when" "ne" nil) -}}
|
||||||
|
{{ else if eq $title "news" }}
|
||||||
|
{{- $paginator = .Paginate .Site.RegularPages -}}
|
||||||
|
{{ else }}
|
||||||
|
{{- $paginator = .Paginate .Data.Pages -}}
|
||||||
|
{{ end }}
|
||||||
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
|
{{ if ne .Content "" }}
|
||||||
|
<article>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- range first 5 $paginator.Pages -}}
|
||||||
|
{{ partial "structure/list_article" . }}
|
||||||
|
{{- end }}
|
||||||
|
<div id="pagination_outer" style="display: flex; justify-content: flex-end;">
|
||||||
|
{{ partial "structure/paginator" (dict "paginator" $paginator) }}
|
||||||
|
</div>
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ define "sidebar" }}
|
||||||
|
{{- partial "structure/empty" . }}
|
||||||
|
{{ end }}
|
|
@ -18,110 +18,17 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $meta := false }}
|
|
||||||
{{ range first 3 (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.featured" "=" true) }}
|
{{ range first 3 (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.featured" "=" true) }}
|
||||||
{{ $article_age := sub now.Unix (int .Date.Unix) }}
|
{{ $article_age := sub now.Unix (int .Date.Unix) }}
|
||||||
{{ if lt $article_age "1209600" }}
|
{{ if lt $article_age "1209600" }}
|
||||||
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
|
{{ partial "structure/list_article.html" . }}
|
||||||
<div id="articletitle">
|
|
||||||
<h3>{{- .Title -}}</h3>featured
|
|
||||||
</div>
|
|
||||||
<div id="articlecontent">
|
|
||||||
<div id="articlemeta">
|
|
||||||
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
|
||||||
<div style="margin-bottom: .4em;">{{ .Params.when }}</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
|
||||||
{{ if eq .Params.price "free" }}
|
|
||||||
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
|
||||||
{{ else }}
|
|
||||||
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<div id="articleinner">
|
|
||||||
<div id="articledata">
|
|
||||||
{{- if .Resources.ByType "image" -}}
|
|
||||||
{{- $pic := index (.Resources.ByType "image") 0 -}}
|
|
||||||
{{ $thumb := "" }}
|
|
||||||
{{ if eq .Content "" }}
|
|
||||||
<div class="notext">
|
|
||||||
{{- $thumb = $pic.Resize "1024x" }}
|
|
||||||
{{ else }}
|
|
||||||
<div class="text">
|
|
||||||
{{- $thumb = $pic.Resize "2048x" }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<img src="{{- $thumb.Permalink -}}"/>
|
|
||||||
</div>
|
|
||||||
{{- end }}
|
|
||||||
<div id="articletext">
|
|
||||||
{{- if .Params.description -}}
|
|
||||||
{{- .Params.description -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- .Summary -}}
|
|
||||||
{{- end }}
|
|
||||||
{{ if .Truncated }}
|
|
||||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a></article>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- range first 5 $paginator.Pages -}}
|
{{- range first 5 $paginator.Pages -}}
|
||||||
{{ $article_age := sub now.Unix (int .Date.Unix) }}
|
{{ $article_age := sub now.Unix (int .Date.Unix) }}
|
||||||
{{ if or (ne .Params.featured true) (ge $article_age "1209600") }}
|
{{ if or (ne .Params.featured true) (ge $article_age "1209600") }}
|
||||||
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
|
{{ partial "structure/list_article.html" . }}
|
||||||
<div id="articletitle">
|
|
||||||
<h3>{{- .Title -}}</h3>
|
|
||||||
</div>
|
|
||||||
<div id="articlecontent">
|
|
||||||
<div id="articlemeta">
|
|
||||||
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
|
||||||
<div style="margin-bottom: .4em;">{{ .Params.when }}</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
|
||||||
{{ if eq .Params.price "free" }}
|
|
||||||
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
|
||||||
{{ else }}
|
|
||||||
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<div id="articleinner">
|
|
||||||
<div id="articledata">
|
|
||||||
{{- if .Resources.ByType "image" -}}
|
|
||||||
{{- $pic := index (.Resources.ByType "image") 0 -}}
|
|
||||||
{{ $thumb := "" }}
|
|
||||||
{{ if eq .Content "" }}
|
|
||||||
<div class="notext">
|
|
||||||
{{- $thumb = $pic.Resize "1024x" }}
|
|
||||||
{{ else }}
|
|
||||||
<div class="text">
|
|
||||||
{{- $thumb = $pic.Resize "2048x" }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<img src="{{- $thumb.Permalink -}}"/>
|
|
||||||
</div>
|
|
||||||
{{- end }}
|
|
||||||
<div id="articletext">
|
|
||||||
{{- if .Params.description -}}
|
|
||||||
{{- .Params.description -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- .Summary -}}
|
|
||||||
{{- end }}
|
|
||||||
{{ if .Truncated }}
|
|
||||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a></article>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<div id="pagination">
|
<div id="pagination">
|
||||||
|
@ -234,3 +141,4 @@
|
||||||
{{ define "sidebar" }}
|
{{ define "sidebar" }}
|
||||||
{{- partial "structure/sidebar" . }}
|
{{- partial "structure/sidebar" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ site.Title }}<br>
|
{{ site.Title }}<br>
|
||||||
{{ site.Params.imprintdata.street }}<br>
|
{{ site.Params.imprintdata.street }}<br>
|
||||||
{{ site.Params.imprintdata.pobox }}<br>
|
{{ if i18n "pobox" }}{{ i18n "pobox" }}{{ else }}{{ "pobox" }}{{ end }} {{ site.Params.imprintdata.pobox }}<br>
|
||||||
{{ site.Params.imprintdata.city }}<br>
|
{{ site.Params.imprintdata.city }}<br>
|
||||||
<br>
|
<br>
|
||||||
Telefon: {{ site.Params.imprintdata.tel }}<br>
|
{{ if i18n "phone" }}{{ i18n "phone" }}{{ else }}{{ "phone" }}{{ end }}: {{ site.Params.imprintdata.tel }}<br>
|
||||||
<p>E-Mail: {{ site.Params.imprintdata.mail | markdownify }}</p>
|
<p>{{ if i18n "mail" }}{{ i18n "mail" }}{{ else }}{{ "mail" }}{{ end }}: {{ site.Params.imprintdata.mail | markdownify }}</p>
|
15
themes/buha/layouts/partials/list/events.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{{ $s := .Site.Params }}
|
||||||
|
{{- $paginator := slice -}}
|
||||||
|
{{- $paginator = .Paginate (where site.RegularPages.ByDate.Reverse ".Params.when" "ne" nil) -}}
|
||||||
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
|
{{ if ne .Content "" }}
|
||||||
|
<article>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- range first 5 $paginator.Pages -}}
|
||||||
|
{{ partial "structure/list_article.html" . }}
|
||||||
|
{{- end }}
|
||||||
|
{{ partial "structure/paginator" "paginator" $paginator }}
|
||||||
|
|
118
themes/buha/layouts/partials/list/featured.html
Normal file
|
@ -0,0 +1,118 @@
|
||||||
|
{{ $s := .Site.Params }}
|
||||||
|
{{- $paginator := slice -}}
|
||||||
|
{{- $posts := where .Site.RegularPages "Type" "in" $s.mainSections }}
|
||||||
|
{{- $paginator = .Paginate (where $posts "Params.featured" true) -}}
|
||||||
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
|
{{ if ne .Content "" }}
|
||||||
|
<article>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- range first 5 $paginator.Pages -}}
|
||||||
|
{{ partial "structure/list_article.html" . }}
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
|
<div id="pagination">
|
||||||
|
<!-- Number of links either side of the current page. -->
|
||||||
|
{{ $adjacent_links := 2 }}
|
||||||
|
|
||||||
|
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
||||||
|
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
||||||
|
|
||||||
|
<!-- $lower_limit = $adjacent_links + 1 -->
|
||||||
|
{{ $lower_limit := (add $adjacent_links 1) }}
|
||||||
|
|
||||||
|
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
||||||
|
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
||||||
|
|
||||||
|
<!-- If there's more than one page. -->
|
||||||
|
{{ if gt $paginator.TotalPages 1 }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- First page. -->
|
||||||
|
{{ if ne $paginator.PageNumber 1 }}
|
||||||
|
<a class="pagination__link pagination__link--first" href="{{ $paginator.First.URL }}">
|
||||||
|
««
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Previous page. -->
|
||||||
|
{{ if $paginator.HasPrev }}
|
||||||
|
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">
|
||||||
|
«
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Page numbers. -->
|
||||||
|
{{ range $paginator.Pagers }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Set "page_number_flag" false }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Advanced page numbers. -->
|
||||||
|
{{ if gt $paginator.TotalPages $max_links }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Lower limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the lower limit. -->
|
||||||
|
{{ if le $paginator.PageNumber $lower_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is less than max_links. -->
|
||||||
|
{{ if le .PageNumber $max_links }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Upper limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the upper limit. -->
|
||||||
|
{{ else if ge $paginator.PageNumber $upper_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is greater than total pages minus $max_links -->
|
||||||
|
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Middle pages. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Simple page numbers. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Output page numbers. -->
|
||||||
|
{{ if eq ($.Scratch.Get "page_number_flag") true }}
|
||||||
|
<a href="{{ .URL }}" class="pagination__link">
|
||||||
|
{{ .PageNumber }}
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Next page. -->
|
||||||
|
{{ if $paginator.HasNext }}
|
||||||
|
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">
|
||||||
|
»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Last page. -->
|
||||||
|
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
||||||
|
<a class="pagination__link pagination__link--last" href="{{ $paginator.Last.URL }}">
|
||||||
|
»»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
18
themes/buha/layouts/partials/list/misc.html
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{{ $s := .Site.Params }}
|
||||||
|
{{- $paginator := slice -}}
|
||||||
|
{{- $paginator = .Paginate .RegularPagesRecursive.ByDate.Reverse -}}
|
||||||
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
|
{{ if ne .Content "" }}
|
||||||
|
<article>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- range first 5 $paginator.Pages -}}
|
||||||
|
{{ partial "structure/list_article.html" . }}
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
<div id="pagination_outer" style="display: flex; justify-content: flex-end;">
|
||||||
|
{{ partial "structure/paginator" (dict "paginator" $paginator) }}
|
||||||
|
</div>
|
117
themes/buha/layouts/partials/list/news.html
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
{{ $s := .Site.Params }}
|
||||||
|
{{- $paginator := slice -}}
|
||||||
|
{{- $paginator = .Paginate (where (where .Site.RegularPages.ByDate.Reverse "Permalink" "!=" .Permalink) "Type" "in" .Site.Params.mainSections) }}
|
||||||
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
|
{{ if ne .Content "" }}
|
||||||
|
<article>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- range first 5 $paginator.Pages -}}
|
||||||
|
{{ partial "structure/list_article.html" . }}
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
|
<div id="pagination">
|
||||||
|
<!-- Number of links either side of the current page. -->
|
||||||
|
{{ $adjacent_links := 2 }}
|
||||||
|
|
||||||
|
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
||||||
|
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
||||||
|
|
||||||
|
<!-- $lower_limit = $adjacent_links + 1 -->
|
||||||
|
{{ $lower_limit := (add $adjacent_links 1) }}
|
||||||
|
|
||||||
|
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
||||||
|
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
||||||
|
|
||||||
|
<!-- If there's more than one page. -->
|
||||||
|
{{ if gt $paginator.TotalPages 1 }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- First page. -->
|
||||||
|
{{ if ne $paginator.PageNumber 1 }}
|
||||||
|
<a class="pagination__link pagination__link--first" href="{{ $paginator.First.URL }}">
|
||||||
|
««
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Previous page. -->
|
||||||
|
{{ if $paginator.HasPrev }}
|
||||||
|
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">
|
||||||
|
«
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Page numbers. -->
|
||||||
|
{{ range $paginator.Pagers }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Set "page_number_flag" false }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Advanced page numbers. -->
|
||||||
|
{{ if gt $paginator.TotalPages $max_links }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Lower limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the lower limit. -->
|
||||||
|
{{ if le $paginator.PageNumber $lower_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is less than max_links. -->
|
||||||
|
{{ if le .PageNumber $max_links }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Upper limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the upper limit. -->
|
||||||
|
{{ else if ge $paginator.PageNumber $upper_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is greater than total pages minus $max_links -->
|
||||||
|
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Middle pages. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Simple page numbers. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Output page numbers. -->
|
||||||
|
{{ if eq ($.Scratch.Get "page_number_flag") true }}
|
||||||
|
<a href="{{ .URL }}" class="pagination__link">
|
||||||
|
{{ .PageNumber }}
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Next page. -->
|
||||||
|
{{ if $paginator.HasNext }}
|
||||||
|
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">
|
||||||
|
»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Last page. -->
|
||||||
|
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
||||||
|
<a class="pagination__link pagination__link--last" href="{{ $paginator.Last.URL }}">
|
||||||
|
»»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
117
themes/buha/layouts/partials/list/recurrent.html
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
{{ $s := .Site.Params }}
|
||||||
|
{{- $paginator := slice -}}
|
||||||
|
{{- $paginator = .Paginate (where .Site.RegularPages "Params.recurrent" true) -}}
|
||||||
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
|
{{ if ne .Content "" }}
|
||||||
|
<article>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- range first 5 $paginator.Pages -}}
|
||||||
|
{{ partial "structure/list_article.html" . }}
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
|
<div id="pagination">
|
||||||
|
<!-- Number of links either side of the current page. -->
|
||||||
|
{{ $adjacent_links := 2 }}
|
||||||
|
|
||||||
|
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
||||||
|
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
||||||
|
|
||||||
|
<!-- $lower_limit = $adjacent_links + 1 -->
|
||||||
|
{{ $lower_limit := (add $adjacent_links 1) }}
|
||||||
|
|
||||||
|
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
||||||
|
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
||||||
|
|
||||||
|
<!-- If there's more than one page. -->
|
||||||
|
{{ if gt $paginator.TotalPages 1 }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- First page. -->
|
||||||
|
{{ if ne $paginator.PageNumber 1 }}
|
||||||
|
<a class="pagination__link pagination__link--first" href="{{ $paginator.First.URL }}">
|
||||||
|
««
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Previous page. -->
|
||||||
|
{{ if $paginator.HasPrev }}
|
||||||
|
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">
|
||||||
|
«
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Page numbers. -->
|
||||||
|
{{ range $paginator.Pagers }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Set "page_number_flag" false }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Advanced page numbers. -->
|
||||||
|
{{ if gt $paginator.TotalPages $max_links }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Lower limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the lower limit. -->
|
||||||
|
{{ if le $paginator.PageNumber $lower_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is less than max_links. -->
|
||||||
|
{{ if le .PageNumber $max_links }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Upper limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the upper limit. -->
|
||||||
|
{{ else if ge $paginator.PageNumber $upper_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is greater than total pages minus $max_links -->
|
||||||
|
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Middle pages. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Simple page numbers. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ $.Scratch.Set "page_number_flag" true }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Output page numbers. -->
|
||||||
|
{{ if eq ($.Scratch.Get "page_number_flag") true }}
|
||||||
|
<a href="{{ .URL }}" class="pagination__link">
|
||||||
|
{{ .PageNumber }}
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Next page. -->
|
||||||
|
{{ if $paginator.HasNext }}
|
||||||
|
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">
|
||||||
|
»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Last page. -->
|
||||||
|
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
||||||
|
<a class="pagination__link pagination__link--last" href="{{ $paginator.Last.URL }}">
|
||||||
|
»»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
|
@ -20,16 +20,25 @@
|
||||||
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
|
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
|
||||||
</p>
|
</p>
|
||||||
<br>
|
<br>
|
||||||
<form id="myform" style="min-width: 55rem; max-width: 100vw; display: flex; flex-grow: 1; flex-direction: column;">
|
<form id="myform" style="display: flex; flex-shrink: 0; flex-grow: 1; flex-direction: column; max-width: 950px;">
|
||||||
{{ partial "tools/title" }}
|
{{ partial "orga/generator/partials/input_line" (dict "name" "title" "mandatory" "true") }}
|
||||||
{{ partial "tools/content" }}
|
{{ partial "orga/generator/content" }}
|
||||||
{{ partial "tools/featured" }}
|
{{ partial "orga/generator/partials/categories" (dict "name" "news" "expanded" "true") }}
|
||||||
{{ partial "tools/event" }}
|
{{ partial "orga/generator/partials/expand" (dict "id" "Ist es ein Event?" "name" "isevent" "translation" "aufklappen" ) }}
|
||||||
{{ partial "tools/price" }}
|
<div style="flex-direction: column; margin-left: 2rem;" class="visibleIf" data-visibleif-rule="isevent == 'true'">
|
||||||
{{ partial "tools/covid" }}
|
{{ partial "orga/generator/partials/input_line" (dict "name" "when" "mandatory" "false") }}
|
||||||
{{ partial "tools/registermail" }}
|
{{ partial "orga/generator/partials/input_line" (dict "name" "price" "mandatory" "false") }}
|
||||||
{{ partial "tools/categories" }}
|
{{ partial "orga/generator/partials/input_line" (dict "name" "covid" "mandatory" "false") }}
|
||||||
{{ partial "tools/submit" }}
|
{{ partial "orga/generator/partials/input_line" (dict "name" "registeremail" "mandatory" "false") }}
|
||||||
|
{{ partial "orga/generator/partials/categories" (dict "name" "event" "expanded" "true") }}
|
||||||
|
</div>
|
||||||
|
{{ partial "orga/generator/partials/expand" (dict "id" "Verschiedenes" "name" "misc" "translation" "aufklappen" ) }}
|
||||||
|
<div style="flex-direction: column; margin-left: 2rem;" class="visibleIf" data-visibleif-rule="misc == 'true'">
|
||||||
|
{{ partial "orga/generator/partials/truefalse" (dict "name" "featured" "expanded" "true") }}
|
||||||
|
{{ partial "orga/generator/tags" }}
|
||||||
|
</div>
|
||||||
|
{{ partial "orga/generator/submit" }}
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id='display' class="result" style="white-space: pre;"></div>
|
<div id='display' class="result" style="white-space: pre;"></div>
|
||||||
|
|
2
themes/buha/layouts/partials/orga/generator/content.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<label for="content">{{ i18n "subject" }}*</label>
|
||||||
|
<textarea id="contentform" name="content" value="" placeholder=""></textarea>
|
|
@ -0,0 +1,31 @@
|
||||||
|
{{ $in0 := printf "%s" .name }}
|
||||||
|
{{ $in1 := printf "%scategories" .name }}
|
||||||
|
{{ $in2 := printf "%scategory" .name }}
|
||||||
|
{{ $openname := printf "open%s" .name }}
|
||||||
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
|
{{- $categories := slice -}}
|
||||||
|
{{ range $pages }}
|
||||||
|
{{ range .Param $in1 }}
|
||||||
|
{{- $categories = $categories | append . -}}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- $categories := $categories | uniq -}}
|
||||||
|
{{ if eq .expanded "true" }}
|
||||||
|
<div style="flex-direction: column;">
|
||||||
|
{{ if i18n .name }}{{ i18n .name }}{{ else }}{{ .name }}{{ end }}{{- if eq .mandatory "true" -}}*{{- end -}}
|
||||||
|
{{ else }}
|
||||||
|
{{ partial "orga/generator/partials/expand" (dict "id" $in0 "name" $openname "translation" "aufklappen" ) }}
|
||||||
|
<div style="flex-direction: column;" class="visibleIf" data-visibleif-rule="{{- $openname }} == 'true'">
|
||||||
|
{{ end }}
|
||||||
|
<fieldset style="max-width: 58.5rem;" id="{{ $in1 }}" name="{{ $in1 }}">
|
||||||
|
{{ range sort $categories }}
|
||||||
|
{{ $n := . | i18n }}
|
||||||
|
{{ if not $n }}
|
||||||
|
{{ $n = . }}
|
||||||
|
{{ end }}
|
||||||
|
<div style="display: flex; flex-direction: row;">
|
||||||
|
<input type="checkbox" name="{{ $in2 }}" id="{{ $in0 }}-cat" value="{{ $n }}"><label style="width: 20rem;" for="{{ $in0 }}-cat">{{ strings.FirstUpper $n }}</label>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
|
@ -0,0 +1,2 @@
|
||||||
|
<div style="display:flex; flex-direction: row;"> {{ .id }} <input type="checkbox" name="{{ .name }}" value="true" style="font-size: smaller;" /> <div style="font-size: smaller;">{{ .translation }}{{- if eq .mandatory "true" -}}*{{- end -}}</div></div>
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
<label for="{{ .name }}">{{ if i18n .name }}{{ i18n .name }}{{ else }}{{ .name }}{{ end }}{{- if eq .mandatory "true" -}}*{{- end -}}</label>
|
||||||
|
<input type="text" name="{{ .name }}" id="{{ .name }}" value="" placeholder="" />
|
|
@ -0,0 +1,6 @@
|
||||||
|
<label for="{{ .name }}">{{ if i18n .name }}{{ i18n .name }}{{ else }}{{ .name }}{{ end }}{{- if eq .mandatory "true" -}}*{{- end -}}</label>
|
||||||
|
<fieldset id="{{ .name }}" name="{{ .name }}">
|
||||||
|
<div style="display: flex; flex-direction: row;">
|
||||||
|
<input type="checkbox" name="{{ .name }}" id="{{ .name }}" value="{{ .name }}" />Yes
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
25
themes/buha/layouts/partials/orga/generator/tags.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
|
{{- $tags := slice -}}
|
||||||
|
{{ range $pages }}
|
||||||
|
{{- if .Params.tags -}}
|
||||||
|
{{- $tags = $tags | append .Params.tags -}}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- $tags := $tags | uniq -}}
|
||||||
|
{{ partial "orga/generator/partials/expand" (dict "id" "tags" "name" "opentag" "translation" "aufklappen" ) }}
|
||||||
|
<div style="flex-direction: column;" class="visibleIf" data-visibleif-rule="opentag == 'true'">
|
||||||
|
<fieldset style="display: flex; flex-direction: column; max-width: 58.5rem;" id="tags" name="tags">
|
||||||
|
{{ range sort $tags }}
|
||||||
|
{{ $n := . | i18n }}
|
||||||
|
{{ if not $n }}
|
||||||
|
{{ $n = . }}
|
||||||
|
{{ end }}
|
||||||
|
<div style="display: flex; flex-direction: row;">
|
||||||
|
<input type="checkbox" name="tags" id="{{ . }}-tag" value="{{ . }}"><label style="width: 20rem;" for="{{ . }}-tag">{{ strings.FirstUpper $n }}</label>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<label style="width: 12vw;" for="newtag">{{ i18n "new" }}</label>
|
||||||
|
<input style="max-width: 58.5rem;" type="text" class="f" name="newtag" id="newtag" placeholder="" />
|
||||||
|
</div>
|
|
@ -3,27 +3,7 @@
|
||||||
</div>
|
</div>
|
||||||
<article>
|
<article>
|
||||||
<div id="articlecontent">
|
<div id="articlecontent">
|
||||||
<div id="articlemeta">
|
{{ partial "structure/article_meta" (dict "context" .) }}
|
||||||
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
|
||||||
<div style="margin-bottom: .4em;"><b>{{ .Params.when }}</b></div>
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
|
||||||
{{ if eq .Params.price "free" }}
|
|
||||||
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
|
||||||
{{ else }}
|
|
||||||
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.register "") (ne .Params.register nil) }}
|
|
||||||
<div>Anmeldung unter {{ .Params.register | markdownify }} erwünscht</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.covid "") (ne .Params.covid nil) }}
|
|
||||||
<div>Es gilt die {{ .Params.covid }} Regel</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ if and (ne .Params.contact "") (ne .Params.contact nil) }}
|
|
||||||
<div>Kontakt: <a href="mailto://{{ .Params.contact }}">{{ .Params.contact }}</a></div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<div id="articleinner">
|
<div id="articleinner">
|
||||||
<div id="articledata">
|
<div id="articledata">
|
||||||
{{- if .Resources.ByType "image" -}}
|
{{- if .Resources.ByType "image" -}}
|
||||||
|
@ -35,7 +15,7 @@
|
||||||
{{ range .Resources.ByType "image" }}
|
{{ range .Resources.ByType "image" }}
|
||||||
{{- $pic := . -}}
|
{{- $pic := . -}}
|
||||||
{{- $thumb := $pic.Resize "1024x" }}
|
{{- $thumb := $pic.Resize "1024x" }}
|
||||||
<a href="{{ . }}"><img src="{{- $thumb.Permalink -}}"/></a>
|
<a href="{{ . }}"><img src="{{- $thumb.Permalink -}}" style="border-radius: 15px;" /></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -45,20 +25,19 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="article_footer" style="margin-top: 1rem; display: flex; align-items: baseline; font-size: x-small; border-top: 1px solid var(--background); color: var(--text-muted);">
|
|
||||||
{{ if .IsTranslated }}
|
|
||||||
<div style="flex-grow: 0; flex-direction: column; margin-right: 1rem;">
|
|
||||||
<b>{{ "Translations" }}</b>
|
|
||||||
{{ range .Translations }}
|
|
||||||
<li style="list-style: none; text-decoration: none; font-size: x-small; color: var(--text-muted);">
|
|
||||||
<a href="{{ .Permalink }}" class="underline">{{ T .Lang }}</a>
|
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
<div style="flex-grow: 1; flex-direction: column;">
|
|
||||||
<b>Verfasst am</b><br>
|
|
||||||
{{ .Date | time.Format ":date_full" }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
{{ define "sidebar" }}
|
||||||
|
|
||||||
|
<h3>{{ T "tags" }}</h3>
|
||||||
|
<div class="tags-list" style="display: flex; flex-direction: column;">
|
||||||
|
{{- with .Params.tags -}}
|
||||||
|
{{- if ge (len .) 1 -}}
|
||||||
|
{{- range . -}}
|
||||||
|
<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}/">#{{ . }}</a>
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
43
themes/buha/layouts/partials/structure/article_meta.html
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{{ $invis := "none" }}
|
||||||
|
{{ $covid := "true" }}
|
||||||
|
{{ $price := "true" }}
|
||||||
|
{{ $contact := "true" }}
|
||||||
|
{{ $registeremail := "true" }}
|
||||||
|
{{ if .invis }}
|
||||||
|
{{ $invis = split .invis "," }}
|
||||||
|
{{ range $invis }}
|
||||||
|
{{ if eq . "covid" }}
|
||||||
|
{{ $covid = "false" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if eq . "price" }}
|
||||||
|
{{ $price = "false" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if eq . "contact" }}
|
||||||
|
{{ $contact = "false" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if eq . "registeremail" }}
|
||||||
|
{{ $registeremail = "false" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
<div id="articlemeta" style="font-size: smaller;">
|
||||||
|
{{ if and (ne .context.Params.when "") (ne .context.Params.when nil) }}
|
||||||
|
<div style="margin-bottom: .4em; font-size: medium;"><b>{{ .context.Params.when }}</b></div>
|
||||||
|
{{ end }}
|
||||||
|
{{ if and (ne .context.Params.price "") (ne .context.Params.price nil) (eq $price "true") }}
|
||||||
|
{{ if eq .context.Params.price "free" }}
|
||||||
|
<div>Der Eintritt ist frei.</div>
|
||||||
|
{{ else }}
|
||||||
|
<div>Eintritt: {{ .context.Params.price }}</div>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if and (ne .context.Params.registeremail "") (ne .context.Params.registeremail nil) (eq $registeremail "true")}}
|
||||||
|
<div>Anmeldung unter {{ .context.Params.registeremail | markdownify }} erwünscht</div>
|
||||||
|
{{ end }}
|
||||||
|
{{ if and (ne .context.Params.covid "") (ne .context.Params.covid nil) (eq $covid "true") }}
|
||||||
|
<div>Es gilt die {{ .context.Params.covid }} Regel</div>
|
||||||
|
{{ end }}
|
||||||
|
{{ if and (ne .context.Params.contact "") (ne .context.Params.contact nil) (eq $contact "true") }}
|
||||||
|
<div>Kontakt: <a href="mailto://{{ .context.Params.contact }}">{{ .context.Params.contact }}</a></div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
0
themes/buha/layouts/partials/structure/empty.html
Normal file
|
@ -1,6 +1,10 @@
|
||||||
{{- if eq site.Params.contact true }}
|
{{- if eq site.Params.contact true }}
|
||||||
<div class="infobox">
|
<div class="infobox">
|
||||||
<a href="{{- "contact" | absLangURL -}}">{{- i18n "contact" | strings.FirstUpper -}}:</a><br><br>
|
{{ $contact := "contact" }}
|
||||||
|
{{ if i18n $contact }}
|
||||||
|
{{ $contact = i18n "contact" }}
|
||||||
|
{{ end }}
|
||||||
|
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br><br>
|
||||||
{{- partial "contact.html" -}}
|
{{- partial "contact.html" -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -8,10 +12,18 @@
|
||||||
<div class="infobox">
|
<div class="infobox">
|
||||||
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
|
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
|
||||||
{{- if eq site.Params.archive true -}}
|
{{- if eq site.Params.archive true -}}
|
||||||
<a href="{{- "archive" | absLangURL -}}">{{- i18n "archive" | strings.FirstUpper -}}</a><br><br>
|
{{ $archive := "archive" }}
|
||||||
|
{{ if i18n $archive }}
|
||||||
|
{{ $archive = i18n "archive" }}
|
||||||
|
{{ end }}
|
||||||
|
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a><br><br>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if eq site.Params.imprint true -}}
|
{{- if eq site.Params.imprint true -}}
|
||||||
<a href="{{- "imprint" | absLangURL -}}">{{- i18n "imprint" | strings.FirstUpper -}}</a><br><br>
|
{{ $imprint := "imprint" }}
|
||||||
|
{{ if i18n $imprint }}
|
||||||
|
{{ $imprint = i18n "imprint" }}
|
||||||
|
{{ end }}
|
||||||
|
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a><br><br>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,17 @@
|
||||||
<img src="/images/logo.svg" alt="SVG mit img laden" width="auto" height="100%" >
|
<img src="/images/logo.svg" alt="SVG mit img laden" width="auto" height="100%" >
|
||||||
</a>
|
</a>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
|
{{ $visible := site.Params.mainMenu }}
|
||||||
{{- range site.Params.mainSections -}}
|
{{- range site.Params.mainSections -}}
|
||||||
{{ if eq . "about" }}
|
{{ $section := . }}
|
||||||
{{ $name := . | T }}
|
{{ range $visible }}
|
||||||
{{ if eq $name "" }}
|
{{ if eq $section . }}
|
||||||
{{ $name = . }}
|
{{ $name := . | T }}
|
||||||
|
{{ if eq $name "" }}
|
||||||
|
{{ $name = . }}
|
||||||
|
{{ end }}
|
||||||
|
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
37
themes/buha/layouts/partials/structure/list_article.html
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{{ if .Title }}
|
||||||
|
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
|
||||||
|
<div id="articletitle">
|
||||||
|
<h2>{{- .Title -}}</h2>
|
||||||
|
</div>
|
||||||
|
<div id="articlecontent">
|
||||||
|
{{ partial "structure/article_meta" (dict "context" . "invis" "covid,registeremail,contact") }}
|
||||||
|
<div id="articleinner">
|
||||||
|
<div id="articledata">
|
||||||
|
{{- if .Resources.ByType "image" -}}
|
||||||
|
{{- $pic := index (.Resources.ByType "image") 0 -}}
|
||||||
|
{{ $thumb := "" }}
|
||||||
|
{{ if eq .Content "" }}
|
||||||
|
<div class="notext">
|
||||||
|
{{- $thumb = $pic.Resize "1024x" }}
|
||||||
|
{{ else }}
|
||||||
|
<div class="text">
|
||||||
|
{{- $thumb = $pic.Resize "2048x" }}
|
||||||
|
{{ end }}
|
||||||
|
<img src="{{- $thumb.Permalink -}}" style="border-radius: 15px;" />
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
<div id="articletext">
|
||||||
|
{{- if .Params.description -}}
|
||||||
|
{{- .Params.description -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- .Summary -}}
|
||||||
|
{{- end }}
|
||||||
|
{{ if .Truncated }}
|
||||||
|
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a></article>
|
||||||
|
{{ end }}
|
102
themes/buha/layouts/partials/structure/paginator.html
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
{{ $paginator := .paginator}}
|
||||||
|
<div id="pagination">
|
||||||
|
<!-- Number of links either side of the current page. -->
|
||||||
|
{{ $adjacent_links := 2 }}
|
||||||
|
|
||||||
|
<!-- $max_links = ($adjacent_links * 2) + 1 -->
|
||||||
|
{{ $max_links := (add (mul $adjacent_links 2) 1) }}
|
||||||
|
|
||||||
|
<!-- $lower_limit = $adjacent_links + 1 -->
|
||||||
|
{{ $lower_limit := (add $adjacent_links 1) }}
|
||||||
|
|
||||||
|
<!-- $upper_limit = $paginator.TotalPages - $adjacent_links -->
|
||||||
|
{{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
|
||||||
|
|
||||||
|
<!-- If there's more than one page. -->
|
||||||
|
{{ if gt $paginator.TotalPages 1 }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- First page. -->
|
||||||
|
{{ if ne $paginator.PageNumber 1 }}
|
||||||
|
<a class="pagination__link pagination__link--first" href="{{ $paginator.First.URL }}">
|
||||||
|
««
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Previous page. -->
|
||||||
|
{{ if $paginator.HasPrev }}
|
||||||
|
<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">
|
||||||
|
«
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
<!-- Page numbers. -->
|
||||||
|
{{ range $paginator.Pagers }}
|
||||||
|
{{ $page_number_flag := false }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Advanced page numbers. -->
|
||||||
|
{{ if gt $paginator.TotalPages $max_links }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Lower limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the lower limit. -->
|
||||||
|
{{ if le $paginator.PageNumber $lower_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is less than max_links. -->
|
||||||
|
{{ if le .PageNumber $max_links }}
|
||||||
|
{{ $page_number_flag = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Upper limit pages. -->
|
||||||
|
<!-- If the user is on a page which is in the upper limit. -->
|
||||||
|
{{ else if ge $paginator.PageNumber $upper_limit }}
|
||||||
|
|
||||||
|
<!-- If the current loop page is greater than total pages minus $max_links -->
|
||||||
|
{{ if gt .PageNumber (sub $paginator.TotalPages $max_links) }}
|
||||||
|
{{ $page_number_flag = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Middle pages. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ if and ( ge .PageNumber (sub $paginator.PageNumber $adjacent_links) ) ( le .PageNumber (add $paginator.PageNumber $adjacent_links) ) }}
|
||||||
|
{{ $page_number_flag = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Simple page numbers. -->
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{ $page_number_flag = true }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Output page numbers. -->
|
||||||
|
{{ if eq $page_number_flag true }}
|
||||||
|
<a href="{{ .URL }}" class="pagination__link">
|
||||||
|
{{ .PageNumber }}
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Next page. -->
|
||||||
|
{{ if $paginator.HasNext }}
|
||||||
|
<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">
|
||||||
|
»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Last page. -->
|
||||||
|
{{ if ne $paginator.PageNumber $paginator.TotalPages }}
|
||||||
|
<a class="pagination__link pagination__link--last" href="{{ $paginator.Last.URL }}">
|
||||||
|
»»
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
|
@ -1,16 +1,30 @@
|
||||||
{{ $s := .Site.Params }}
|
{{ $s := .Site.Params }}
|
||||||
<section class="sidebar_inner">
|
<section class="sidebar_inner">
|
||||||
|
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||||
<h3>{{ T "events" }}</h3>
|
<h3>{{ T "news" }}</h3>
|
||||||
<a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a>
|
<a href="{{ "/news" | relLangURL}}">{{ "all" | T }}</a>
|
||||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||||
{{ $orig := $taxonomyname }}
|
{{ $orig := $taxonomyname }}
|
||||||
{{ if ne (i18n $taxonomyname) "" }}
|
{{ if ne (i18n $taxonomyname) "" }}
|
||||||
{{ $taxonomyname = i18n $taxonomyname }}
|
{{ $taxonomyname = i18n $taxonomyname }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $taxonomyname = $taxonomyname | humanize }}
|
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||||
|
{{ end }}
|
||||||
|
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if gt .Site.Taxonomies.events 0 }}
|
||||||
|
<h3>{{ T "events" }}</h3>
|
||||||
|
<a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a>
|
||||||
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||||
|
{{ $orig := $taxonomyname }}
|
||||||
|
{{ if ne (i18n $taxonomyname) "" }}
|
||||||
|
{{ $taxonomyname = i18n $taxonomyname }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||||
|
{{ end }}
|
||||||
|
<li style="list-style: none;"><a href="{{ "events/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .IsHome }}
|
{{ if .IsHome }}
|
||||||
<h4>{{ "Languages" }}</h3>
|
<h4>{{ "Languages" }}</h3>
|
||||||
|
@ -20,5 +34,9 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ $t := where .Site.Taxonomies.categories ".Page.Section" "events" }}
|
||||||
|
{{ range $t }}
|
||||||
|
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a></li>
|
||||||
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<div class="footer_color" style="margin-top: 0; text-align: right;"><b>Termine</b></div>
|
<div class="footer_color" style="margin-top: 0; text-align: right;"><b>Termine</b></div>
|
||||||
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
|
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
|
||||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.eventcategories }}
|
||||||
{{ $orig := $taxonomyname }}
|
{{ $orig := $taxonomyname }}
|
||||||
{{ if ne (i18n $taxonomyname) "" }}
|
{{ if ne (i18n $taxonomyname) "" }}
|
||||||
{{ $taxonomyname = i18n $taxonomyname }}
|
{{ $taxonomyname = i18n $taxonomyname }}
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
|
||||||
{{- $tags := slice -}}
|
|
||||||
{{- $categories := slice -}}
|
|
||||||
{{ range $pages }}
|
|
||||||
{{- if .Params.tags -}}
|
|
||||||
{{- $tags = $tags | append .Params.tags -}}
|
|
||||||
{{ end }}
|
|
||||||
{{- if .Params.categories -}}
|
|
||||||
{{- $categories = $categories | append .Params.categories -}}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{- $categories := $categories | uniq -}}
|
|
||||||
{{- $tags := $tags | uniq -}}
|
|
||||||
|
|
||||||
<div style="display:flex; flex-direction: row;"> Kategorien <input type="checkbox" name="opencat" value="true" /> aufklappen</div>
|
|
||||||
<div style="flex-direction: column;" class="visibleIf" data-visibleif-rule="opencat == 'true'">
|
|
||||||
<fieldset style="max-width: 58.5rem;" id="categories" name="categories">
|
|
||||||
{{ range sort $categories }}
|
|
||||||
{{ $n := . | i18n }}
|
|
||||||
{{ if not $n }}
|
|
||||||
{{ $n = . }}
|
|
||||||
{{ end }}
|
|
||||||
<div style="display: flex; flex-direction: row;">
|
|
||||||
<input type="checkbox" name="category" id="{{ . }}-cat" value="{{ . }}"><label style="width: 20rem;" for="{{ . }}-cat">{{ strings.FirstUpper $n }}</label>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</fieldset>
|
|
||||||
<label style="width: 12vw;" for="newcat">{{ i18n "new" }}</label>
|
|
||||||
<input style="max-width: 58.5rem;" type="text" class="f" name="newcat" id="newcat" placeholder="" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div style="display:flex; flex-direction: row;"> Tags <input type="checkbox" name="opentag" value="true" /> aufklappen</div>
|
|
||||||
<div style="flex-direction: column;" class="visibleIf" data-visibleif-rule="opentag == 'true'">
|
|
||||||
<fieldset style="display: flex; flex-direction: column; max-width: 58.5rem;" id="tags" name="tags">
|
|
||||||
{{ range sort $tags }}
|
|
||||||
{{ $n := . | i18n }}
|
|
||||||
{{ if not $n }}
|
|
||||||
{{ $n = . }}
|
|
||||||
{{ end }}
|
|
||||||
<div style="display: flex; flex-direction: row;">
|
|
||||||
<input type="checkbox" name="tags" id="{{ . }}-tag" value="{{ . }}"><label style="width: 20rem;" for="{{ . }}-tag">{{ strings.FirstUpper $n }}</label>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<label style="width: 12vw;" for="newtag">{{ i18n "new" }}</label>
|
|
||||||
<input style="max-width: 58.5rem;" type="text" class="f" name="newtag" id="newtag" placeholder="" />
|
|
||||||
</div>
|
|
|
@ -1,2 +0,0 @@
|
||||||
<label style="width: 12vw;" class="f" for="content">{{ i18n "subject" }}*</label>
|
|
||||||
<textarea id="contentform" name="content" value="" placeholder=""></textarea>
|
|
|
@ -1,2 +0,0 @@
|
||||||
<label for="covid">{{ if (i18n "covid") }}{{ i18n "covid" }}{{ else }}Covid{{ end }}</label>
|
|
||||||
<input type="text" name="covid" id="covid" value="" placeholder="" />
|
|
|
@ -1,2 +0,0 @@
|
||||||
<label for="title">{{ i18n "event" }}</label>
|
|
||||||
<input type="event" name="event" id="event" value="" placeholder="" />
|
|
|
@ -1,5 +0,0 @@
|
||||||
<fieldset style="display: flex; flex-direction: column; max-width: 58.5rem;" id="featured" name="featured">
|
|
||||||
<div style="display: flex; flex-direction: row;">
|
|
||||||
<input type="checkbox" name="featured" id="featured" value="featured"><label style="width: 20rem;" for="featured">{{ i18n "featured" }}</label>
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
|
@ -1,2 +0,0 @@
|
||||||
<label for="price">{{ i18n "price" }}</label>
|
|
||||||
<input type="text" name="price" id="price" value="" placeholder="" />
|
|
|
@ -1,2 +0,0 @@
|
||||||
<label for="registermail">{{ if (i18n "registermail") }}{{ i18n "registermail" }}{{ else }}Register Mail{{ end }}</label>
|
|
||||||
<input type="text" name="registermail" id="registermail" value="" placeholder="" />
|
|
|
@ -1,2 +0,0 @@
|
||||||
<label for="title">{{ i18n "title" }}*</label>
|
|
||||||
<input type="text" name="title" id="title" value="" placeholder="" />
|
|
|
@ -35,24 +35,16 @@ function showInput(e) {
|
||||||
var form = document.querySelector('form[id="myform"]');
|
var form = document.querySelector('form[id="myform"]');
|
||||||
var title = form.elements['title'].value;
|
var title = form.elements['title'].value;
|
||||||
var content = form.elements['content'].value;
|
var content = form.elements['content'].value;
|
||||||
var event = form.elements['event'].value;
|
var when = form.elements['when'].value;
|
||||||
var cats = check_checkboxes('category');
|
var covid = form.elements['covid'].value;
|
||||||
var newcat = testor(form.elements['newcat'].value.split(','));
|
var price = form.elements['price'].value;
|
||||||
|
var registeremail = form.elements['registeremail'].value;
|
||||||
|
var cats_event = check_checkboxes('eventcategory');
|
||||||
|
var cats_news = check_checkboxes('newscategory');
|
||||||
var tags = check_checkboxes('tags');
|
var tags = check_checkboxes('tags');
|
||||||
var newtag = testor(form.elements['newtag'].value.split(','));
|
var newtag = testor(form.elements['newtag'].value.split(','));
|
||||||
var featured = check_checkboxes('featured');
|
var featured = check_checkboxes('featured');
|
||||||
|
|
||||||
if (newcat != '""') {
|
|
||||||
var ncats = newcat;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (cats != '') {
|
|
||||||
var ncats = cats;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (cats != '' && newcat != '""') {
|
|
||||||
var ncats = cats + "," + newcat;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (newtag != '""') {
|
if (newtag != '""') {
|
||||||
var ntags = newtag;
|
var ntags = newtag;
|
||||||
|
@ -77,6 +69,7 @@ function showInput(e) {
|
||||||
|
|
||||||
|
|
||||||
if (title && content) {
|
if (title && content) {
|
||||||
|
display.innerHTML += "<div style=\"background-color: grey;\"";
|
||||||
display.innerHTML += "---<br>";
|
display.innerHTML += "---<br>";
|
||||||
display.innerHTML += "title: \"" + title + "\"<br>";
|
display.innerHTML += "title: \"" + title + "\"<br>";
|
||||||
display.innerHTML += "date: \"" + datestring + "<br>";
|
display.innerHTML += "date: \"" + datestring + "<br>";
|
||||||
|
@ -85,17 +78,32 @@ function showInput(e) {
|
||||||
display.innerHTML += "featured: true<br>";
|
display.innerHTML += "featured: true<br>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event) {
|
if (when) {
|
||||||
display.innerHTML += "when: \"" + event + "\"<br>";
|
display.innerHTML += "when: \"" + when + "\"<br>";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ncats) {
|
if (cats_news != '') {
|
||||||
display.innerHTML += "categories: \[" + ncats + "]<br>";
|
display.innerHTML += "categories: \[" + cats_news + "]<br>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cats_event != '') {
|
||||||
|
display.innerHTML += "events: \[" + cats_event + "]<br>";
|
||||||
|
}
|
||||||
|
|
||||||
if (ntags) {
|
if (ntags) {
|
||||||
display.innerHTML += "tags: \[" + ntags + "]<br>";
|
display.innerHTML += "tags: \[" + ntags + "]<br>";
|
||||||
}
|
}
|
||||||
|
if (covid) {
|
||||||
|
display.innerHTML += "covid: \"" + covid + "\"<br>";
|
||||||
|
}
|
||||||
|
if (price) {
|
||||||
|
display.innerHTML += "price: \"" + price + "\"<br>";
|
||||||
|
}
|
||||||
|
if (registeremail) {
|
||||||
|
display.innerHTML += "registeremail: \"" + registeremail + "\"<br>";
|
||||||
|
}
|
||||||
display.innerHTML += "---<br>";
|
display.innerHTML += "---<br>";
|
||||||
|
display.innerHTML += "</div>";
|
||||||
if (content) {
|
if (content) {
|
||||||
display.innerHTML += content;
|
display.innerHTML += content;
|
||||||
}
|
}
|
||||||
|
|