forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
a10aad279a
commit
4e53400cc4
|
@ -59,7 +59,7 @@ forms:
|
|||
expanded: false
|
||||
new: "Neue Events"
|
||||
help: "gerne Plural, möglichst wenige"
|
||||
placeholder: "Konzerte"
|
||||
placeholder: "Konzert"
|
||||
- title: covid
|
||||
group: misc
|
||||
input_type: text
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert mit 3 Bands"
|
||||
lastmod: 1996-02-03T14:00:00+02:00
|
||||
when: "3.2.1996, CD-Kaserne Halle 12"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Volxküche","CD-Kaserne","Bücher"]
|
||||
price: "6DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Monojack Klangerlebnis"
|
||||
lastmod: 1996-04-13T14:00:00+02:00
|
||||
when: "13.04.1996, Café Bunteshaus"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Monojack","Abyss","Alexx","Kiki K","Psychedelisches Licht- Bilder- und Klangerlebnis"]
|
||||
price: "5DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Muff Potter"
|
||||
lastmod: 1997-01-17T14:00:00+02:00
|
||||
when: "Freitag,17.01.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Muff Potter","Fan-Man"]
|
||||
price: "vermtl. 7DM"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Kilgore"
|
||||
lastmod: 1997-02-08T14:00:00+02:00
|
||||
when: "8.02.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Kilgore","Pink Trauma"]
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Rusty James / Kilgore"
|
||||
lastmod: 1997-03-28T14:00:00+02:00
|
||||
when: "28.03.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Rusty James","Fan-Man","Embryostore"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Springfoot Jack"
|
||||
lastmod: 1997-04-10T14:00:00+02:00
|
||||
when: "10.4.1997, 20Uhr, CD-Kaserne Halle 12"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Volxküche","Springfoot Spring","Silo Bocky"]
|
||||
price: "8DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Tod & Mordschlag"
|
||||
lastmod: 1997-04-10T14:00:00+02:00
|
||||
when: "7.6.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Tot&Mordschlag"]
|
||||
price: "8DM"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "The Fixtures"
|
||||
lastmod: 1997-04-10T14:00:00+02:00
|
||||
when: "15.06.1997, 19Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["The Fixtures"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Non Profit Concert"
|
||||
lastmod: 1997-07-15T14:00:00+02:00
|
||||
when: "15.07.1997, 20Uhr, Einlass 19Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
foundations: ["jusos"]
|
||||
tags: ["Accomplished Solution","Indemnity","Last Order","Legend of Doom","Polythene Grass","Ben Dingo"]
|
||||
price: "6DM"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Guts Pie Earshot"
|
||||
lastmod: 1997-09-12T14:00:00+02:00
|
||||
when: "12.09.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Guts Pie Earshot"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Intestinal Infection"
|
||||
lastmod: 1997-09-14T14:00:00+02:00
|
||||
when: "14.09.1997"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Intestinal Infection","Yacøpsæ"]
|
||||
price: "3DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Tod & Mordschlag"
|
||||
lastmod: 1997-09-14T14:00:00+02:00
|
||||
when: "Sammstag, 20.09.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Tot&Mordschlag"]
|
||||
price: "7DM"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Kilgore / Televenga Hympnotism"
|
||||
lastmod: 1997-10-25T14:00:00+02:00
|
||||
when: "25.10.1997, 21Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Kilgore","Televenga Hympnotism","Summerhouse"]
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Plan Kruutntoone"
|
||||
lastmod: 1997-12-05T14:00:00+02:00
|
||||
when: "5.12.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Plan Kruutntoone"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Brasilianische Nacht"
|
||||
lastmod: 1997-12-26T14:00:00+02:00
|
||||
when: "26.12.1997, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Yorio da Costa","Samba da Minha Aba"]
|
||||
price: "10DM"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Riad Kheder"
|
||||
lastmod: 1998-02-20T14:00:00+02:00
|
||||
when: "Freitag, 20.02.1998, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Riad Kheder","Experiment K"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Trigger Finger"
|
||||
lastmod: 1998-03-13T14:00:00+02:00
|
||||
when: "13.03.1998, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Trigger Finger","Jimmy Pelz Fistfuck USA","The Sentiments"]
|
||||
price: "6DM"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Dit Terzi"
|
||||
lastmod: 1998-04-24T14:00:00+02:00
|
||||
when: "24.4.1998, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Experiment K"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Head Mix Collective"
|
||||
lastmod: 1998-05-02T14:00:00+02:00
|
||||
when: "2.5.1998, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Experiment K"]
|
||||
price: "5DM"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Logical Nonsense"
|
||||
lastmod: 1998-05-14T14:00:00+02:00
|
||||
when: "14.5.1998, 20Uhr, 05.06.1998, 20Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Cafe","Volxküche","Logical Nonsense","Clandestine (Band)","Hardcore","Hot Water Music","Who Me?","El Mariachi","Programm"]
|
||||
---
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
title: "Salsa - Frauenparty"
|
||||
lastmod: 1998-09-25T14:00:00+02:00
|
||||
when: "25.09.1998, 20 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Salsa","Frauenhaus Celle eV","Petra Mundt","Internationaler Frauentreff Celle","Familienbildungsstätte","Frauenbeauftragte","DJane Miss P","Mujeres"]
|
||||
price: "10 DM, ermäßigt 5 DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Di Chuzpenics"
|
||||
lastmod: 1998-10-31T14:00:00+02:00
|
||||
when: "31.10.1998, 21:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Klezmer","jüdische Musik","Experiment K","Musik","Di Chuzpenics","Klezmer Musik"]
|
||||
price: "8 DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Rasende Leichenbeschauer"
|
||||
lastmod: 1998-11-03T14:00:00+02:00
|
||||
when: "03.11.1998, 20:00 Uh"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Vágtázó Halottkémek","Rasende Leichenbeschauer","Curanderos","Psychedelischer ungarischer Schamanenkult","Celler Digeridoo","Trommeltribe"]
|
||||
---
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert: Riad Kheder"
|
||||
lastmod: 1998-11-27T14:00:00+02:00
|
||||
when: "27.11.1998, 20:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Orientalische Nacht","Riad Kheder","Traditionelle Klänge","Arabic Jazz","Sharin","Orientalischer Tanz","Experiment K"]
|
||||
price: "10 DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert: Televenga Hypnotism, Viva Kunterbunt & Ganja Yedis"
|
||||
lastmod: 2000-12-26T14:00:00+02:00
|
||||
when: "26.12.2000, 21:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Celler Band","Televenga Hypnotism","Viva Kunterbunt","Ganja Yedis"]
|
||||
price: "10 DM"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert: Jason & Maintain & Blomqvist"
|
||||
lastmod: 2002-01-18T14:00:00+02:00
|
||||
when: "18.01.2002, 20:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Maintain","Rotenburg","Blomqvist","Celle","Jason","Salzgitter"]
|
||||
price: "4€"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert : Children of Fall & Angstzustand"
|
||||
lastmod: 2002-03-02T14:00:00+02:00
|
||||
when: "02.03.2002, 20:30 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Children of Fall","Angstzustand","Schweden","Hardcore"]
|
||||
price: "4€"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert: andthewinneris & onemanandhisdroid"
|
||||
lastmod: 2002-03-16T14:00:00+02:00
|
||||
when: "16.03.2002, 21:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["And the Winner Is","One Man And His Droid","Emokonzert"]
|
||||
price: "5€"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert: Größenwahn & ?Yell!"
|
||||
lastmod: 2002-04-20T14:00:00+02:00
|
||||
when: "20.04.2002, 20:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Pop","Groove Rock","Bremen","Göttingen","Rock","Rock Pop","Yell","Größenwahn"]
|
||||
price: "4€"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzert: No Respect & Maskapone & Wack.A.Deli"
|
||||
lastmod: 2002-06-01T14:00:00+02:00
|
||||
when: "01.06.2002, 20:30 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Hannover","Ska","Punk","No Respect","Göttingen","Maskapone","Deli","Wack A Deli"]
|
||||
price: "free"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Kaospilot & ...the244gl"
|
||||
lastmod: 2002-07-04T14:00:00+02:00
|
||||
when: "04.07.2002, 21:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Göttingen","the 244 gl","female screamo","screamocore","kaospilot","Oslo","Norwegen","1on1 Punkrock Magazin"]
|
||||
---
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Verbrannte Erde & d.h."
|
||||
lastmod: 2002-08-09T14:00:00+02:00
|
||||
when: "09.08.2002, 21:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Punk","Verbrannte Erde","dh"]
|
||||
price: "4€"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Punkkonzert"
|
||||
lastmod: 2002-08-09T14:00:00+02:00
|
||||
when: "09.08.2002"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Punk"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Benefizkonzert - Rock da Haus 2"
|
||||
lastmod: 2002-08-31T14:00:00+02:00
|
||||
when: "31.08.2002, 17:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Blomqvist","Musik","Festival","Benefizkonzert","SOS Kinderdörfer","Onkologisches Forum Celle","Duff Blimp","Eve 13","Marys Forbidden Dreams","Muff","No Vehm","Oversize","Sonic Front","Sugar Breath","Quarter to Eleven"]
|
||||
price: "6€"
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Di Chuzpenics"
|
||||
lastmod: 2002-10-19T14:00:00+02:00
|
||||
when: "19.10.2002, 20:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Di Chuzpenics","Klezmer","Klezmer Musik","Klesmer","Kiel"]
|
||||
---
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Konzertlesung - Flucht & Migration in der Literatur"
|
||||
lastmod: 2002-12-10T14:00:00+02:00
|
||||
when: "10.12.2002, 20 Uhr"
|
||||
events: ["Konzerte","Lesung"]
|
||||
events: ["Konzert","Lesung"]
|
||||
tags: ["Flucht","Migration","Literatur","Hubert Brieden","Mechthild Dortmund","Thorsten Wittemeier","Bandoneon","Benjamin Kersting","Gitarre","John Steinbeck"]
|
||||
price: "4€ / 2€"
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Weihnachten im Bunten Haus Celle - Konzerte"
|
||||
lastmod: 2002-12-20T14:00:00+02:00
|
||||
when: "20.12.2002 - 28.12.2002, je 21 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Blomqvist","ZSK","Politpunk","Tpunkterror","CD-Release","Amtrak","elektro-wave-punk-emo-rock","holterdipolter","Soleil Noir","Jason"]
|
||||
---
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
title: "Amtrak, Soleil Noir & Jason"
|
||||
lastmod: 2002-12-28T14:00:00+02:00
|
||||
when: "28.12.2002, 21:00 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
tags: ["Jason","Amtrak","Soleil Noir","Braunschweig","Punkrock","HH","cosmetic wave","Salzgitter","Emorock","Hamburg"]
|
||||
---
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: "Katzengejammer"
|
||||
date: "2022-04-04T23:16:00+02:00"
|
||||
when: "Montag, 04.04.2022, 23.23 Uhr"
|
||||
events: ["Konzerte"]
|
||||
events: ["Konzert"]
|
||||
price: "free"
|
||||
foundations: ["rote_hilfe"]
|
||||
covid: "Keine Masken mehr!"
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 169 KiB |
Before Width: | Height: | Size: 328 KiB After Width: | Height: | Size: 328 KiB |
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
|
@ -4,7 +4,7 @@ date: "2021-04-06T19:00:00+02:00"
|
|||
lastmod: "2021-04-06T19:00:00+02:00"
|
||||
about: true
|
||||
when: "Jeden Mittwoch 18:30-19:00Uhr & Samstags 15:00-15:30Uhr"
|
||||
events: ["Regelmäßig"]
|
||||
recurrent: true
|
||||
contact_mail: "foodsavingcelle@riseup.net"
|
||||
insta: "foodsavingcelle"
|
||||
featured: true
|
||||
|
|
|
@ -5,7 +5,7 @@ lastmod: 1993-09-04T19:00:00+02:00
|
|||
when: "jeden Monat am ersten und dritten Donnerstag, 19:00Uhr"
|
||||
about: true
|
||||
categories: ["Buha"]
|
||||
events: ["Regelmäßig"]
|
||||
recurrent: true
|
||||
tags: [ "Plenum" ]
|
||||
covid: "3g"
|
||||
price: "free"
|
||||
|
|
|
@ -3,7 +3,7 @@ title: "Umsonstladen"
|
|||
date: "1993-09-04T19:00:00+02:00"
|
||||
when: "Jeden Dienstag von 16.00 bis 18.00 Uhr"
|
||||
about: true
|
||||
events: ["Regelmäßig"]
|
||||
recurrent: true
|
||||
---
|
||||
Mit einer kleinen Feier hat der erste Umsonst-Laden in Celle eröffnet. In den vom Hof zugänglichen Raum ist der U-Laden eingezogen.
|
||||
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
@media only screen and (min-width: 600px) {
|
||||
.main {
|
||||
width: 80%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,140 @@
|
|||
:root {
|
||||
--align: center;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
max-width: 1280px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
a {
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
.header {
|
||||
flex-grow: 0;
|
||||
height: 4rem;
|
||||
min-height: 4rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.minheight {
|
||||
min-height: 33vh;
|
||||
}
|
||||
.content {
|
||||
flex-grow: 1;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.footer {
|
||||
flex-grow: 0;
|
||||
min-height: 4rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 1rem;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
flex-direction: column-reverse;
|
||||
div {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.infobox {
|
||||
text-align: var(--align);
|
||||
}
|
||||
}
|
||||
|
||||
.banner {
|
||||
display: flex; align-items: center; height: 33vh; background-position: top; background-repeat: no-repeat; background-attachment: fixed;
|
||||
font-size: 115%;
|
||||
h1 {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.banner-shadow {
|
||||
box-shadow:
|
||||
inset 0px -11px 8px -10px #444;
|
||||
}
|
||||
|
||||
.page-intro {
|
||||
text-align: var(--align);
|
||||
a { text-decoration: underline; }
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
padding-right: 1.1rem;
|
||||
}
|
||||
|
||||
section, article, .article_footer, .sidebar {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.two-lists {
|
||||
display: flex; flex-wrap: wrap-reverse; justify-content: space-around;
|
||||
}
|
||||
|
||||
article {
|
||||
.article-image {
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 3rem;
|
||||
img, div {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 80%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
.articlemeta {
|
||||
margin-bottom: .5rem;
|
||||
&:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
a {
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
}
|
||||
|
||||
#pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 1rem;
|
||||
a {
|
||||
padding: .5rem;
|
||||
margin: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
img.dark-shadow{
|
||||
filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 1));
|
||||
}
|
||||
|
||||
.dark-shadow{
|
||||
text-shadow: 0px 3px 3px rgba(0, 0, 0, 1);
|
||||
color: white;
|
||||
}
|
|
@ -0,0 +1,109 @@
|
|||
:root {
|
||||
--max-width: 1024px; }
|
||||
|
||||
#container {
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
max-width: var(--max-width);
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
.headerinner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
padding: .2rem;
|
||||
padding-right: .7rem;
|
||||
padding-bottom: .5rem;
|
||||
a {
|
||||
color: white;
|
||||
margin-left: .8rem;
|
||||
margin-top: .5rem;
|
||||
text-shadow: 1px 2px 3px rgba(0, 0, 0, 1), 1px 2px 3px rgba(0, 0, 0, 1);
|
||||
text-decoration: none;
|
||||
}
|
||||
img {
|
||||
filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 1));
|
||||
}
|
||||
}
|
||||
|
||||
.banner {
|
||||
padding-top: 6rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
/* Set a specific height */
|
||||
height: 30vh;
|
||||
|
||||
/* Position and center the image to scale nicely on all screens */
|
||||
background-position: top;
|
||||
background-repeat: no-repeat;
|
||||
background-size: auto 100vh;
|
||||
background-attachment: fixed;
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
text-shadow: 0px 3px 32px rgba(0, 0, 0, 1), 0px 3px 32px rgba(0, 0, 0, 1);
|
||||
font-size: 350%;
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
padding-right: 1rem;
|
||||
.content_intro {
|
||||
text-align: center; margin-top: 3.5rem; margin-bottom: 3.5rem;
|
||||
a { color: var(--text-bright); }
|
||||
}
|
||||
.index_section { padding: 1rem;
|
||||
a { text-decoration: none; }
|
||||
}
|
||||
h3 {
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
.articlemeta {
|
||||
margin-bottom: .6rem;
|
||||
&:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.article_list_section {
|
||||
margin-bottom: 6rem;
|
||||
}
|
||||
|
||||
.articlecontent {
|
||||
padding-left: .8rem;
|
||||
}
|
||||
|
||||
.articletitle {
|
||||
padding-left: .4rem;
|
||||
font-size: 110%;
|
||||
}
|
||||
}
|
||||
|
||||
article, .article_footer {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.5rem;
|
||||
min-height: 33rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) {
|
||||
main {
|
||||
.content_intro {
|
||||
font-size: 130%;
|
||||
}
|
||||
.index_lists {
|
||||
display: flex; flex-wrap: wrap; justify-content: space-around;
|
||||
.index_section { max-width: 42%; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,6 +7,9 @@ other = "Termine"
|
|||
[event]
|
||||
other = "Termine"
|
||||
|
||||
[recurrent]
|
||||
other = "Regelmäßig"
|
||||
|
||||
[contact]
|
||||
other = "Kontakt"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{- $pic := index $images (sub (int $nr) 1) -}}
|
||||
{{- $image := .Page.Resources.GetMatch (printf "%s" ($pic | safeURL)) -}}
|
||||
{{ if ne $image nil }}
|
||||
<div>
|
||||
<div class="article-image">
|
||||
<a href="{{- $image.Permalink -}}" class="no_underline">
|
||||
{{- $permalink := "" -}}
|
||||
|
||||
|
@ -26,13 +26,13 @@
|
|||
{{- $permalink = (printf "/%s" (.Destination | safeURL)) -}}
|
||||
{{- end -}}
|
||||
|
||||
<div class="dfjcc"><img loading="lazy"
|
||||
<img loading="lazy"
|
||||
src="{{ $permalink }}"
|
||||
alt="{{ .Text }}"
|
||||
{{ with .Title}} title="{{ . }}"{{ end }}
|
||||
width={{ $image.Width }}
|
||||
height="{{ $image.Height }}" /></div>
|
||||
<div class="dfjcc">{{ .Text }}</div>
|
||||
height="{{ $image.Height }}" />
|
||||
<div>{{ .Text }}</div>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -3,21 +3,21 @@
|
|||
{{- partial "snippets/head.html" . -}}
|
||||
{{ block "css" . -}}{{- end }}
|
||||
<body>
|
||||
<div id="container">
|
||||
<header class="sticky">
|
||||
<div class="container">
|
||||
<header class="header">
|
||||
{{ partial "snippets/header" . }}
|
||||
</header>
|
||||
<main class="content">
|
||||
{{ partial "snippets/banner" . -}}
|
||||
<main id="main">
|
||||
<div id="content">
|
||||
<div class="main minheight">
|
||||
{{ block "content" . -}}{{- end }}
|
||||
{{ block "sidebar" . -}}{{- end }}
|
||||
{{ block "pagefooter" . -}}{{- end }}
|
||||
</div>
|
||||
{{ block "sidebar" . -}}{{- end }}
|
||||
</main>
|
||||
<footer>
|
||||
<footer class="footer">
|
||||
{{- partial "snippets/footer" . -}}
|
||||
</footer>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
{{ define "sidebar" }}
|
||||
{{ if eq .Section "news" }}
|
||||
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||
<div>
|
||||
<aside class="sidebar">
|
||||
<h3 class="align_menu">{{ if i18n "categories" }}{{ i18n "categories" }}{{ else }}{{ "Categories" }}{{ end }}</h3>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
|
@ -57,13 +57,14 @@
|
|||
{{ end }}
|
||||
<div class="align_menu"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</aside>
|
||||
{{ end }}
|
||||
{{ else if eq .Section "events" }}
|
||||
|
||||
{{ if gt .Site.Taxonomies.events 0 }}
|
||||
<div>
|
||||
<aside class="sidebar">
|
||||
<h3 class="align_menu">{{ if i18n "categories" }}{{ i18n "categories" }}{{ else }}{{ "Categories" }}{{ end }}</h3>
|
||||
<div class="align_menu"><a href="{{ "recurrent/" | relLangURL}}">{{ i18n "recurrent" }}</a></div>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -73,7 +74,7 @@
|
|||
{{ end }}
|
||||
<div class="align_menu"><a href="{{ "events/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</aside>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -20,3 +20,73 @@
|
|||
{{ partial $partial (dict "context" . "pic" $pic "content" .Content "partial_before" $partial_before "type" "article") }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ if ne .Type "tools" }}
|
||||
<aside class="sidebar">
|
||||
{{ if .Params.categories }}
|
||||
<h3 class="align_menu">{{ if i18n "categories" }}{{ i18n "categories" }}{{ else }}{{ "Categories" }}{{ end }}</h3>
|
||||
{{ range .Params.categories }}
|
||||
<div class="align_menu"><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if .Params.events }}
|
||||
<h3 class="align_menu">{{ if i18n "categories" }}{{ i18n "categories" }}{{ else }}{{ "Categories" }}{{ end }}</h3>
|
||||
{{ range .Params.events }}
|
||||
<div class="align_menu"><a href="{{ "/events/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<h3 class="align_menu"><a href="{{ "/tags/" | relLangURL }}">{{ if i18n "tags" }}{{ i18n "tags" }}{{ else }}{{ "Tags" }}{{ end }}</a></h3>
|
||||
{{ range .Params.tags }}
|
||||
<div class="align_menu"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</aside>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "pagefooter" }}
|
||||
{{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }}
|
||||
<div class="article_footer">
|
||||
{{ with .Params.foundations }}
|
||||
<b>Träger der Veranstaltung:</b>
|
||||
<div class="article_footer_foundations1">
|
||||
{{ range . }}
|
||||
{{ $l := . }}
|
||||
{{ $url := "" }}
|
||||
{{ if isset site.Params.foundations $l }}
|
||||
{{ $url = index site.Params.foundations $l }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{- $res_im := resources.GetMatch (printf "/images/foundations/%s*" $l ) -}}
|
||||
{{ if $res_im }}
|
||||
<div class="article_footer_item1">
|
||||
{{ if $url }}<a href="{{ $url | safeHTML }}">{{ end }}<img src="{{- $res_im.Permalink -}}" class="borderrad4px article_footer_item1" /> {{ if $url }}</a>{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="article_footer_item1">
|
||||
assets/images/foundations/{{- $l -}} .* missing
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="article_footer_foundations2">
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b>
|
||||
{{ .Date | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ if ne .Date .Lastmod }}
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b>
|
||||
{{ .Lastmod | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -11,17 +11,22 @@
|
|||
{{ if ne .Content "" }}
|
||||
{{ partial "snippets/content" (dict "content" .Content) }}
|
||||
{{ end }}
|
||||
<div style="display: flex; flex-wrap: wrap;">
|
||||
{{ if gt (len $featured) 1 }}
|
||||
<section class="index_section">
|
||||
{{ partial "layout/article_list" (dict "context" . "pages" $featured "amount" "5" "title" "Featured") }}
|
||||
</section>
|
||||
{{ $news := "news" }}
|
||||
{{ if i18n $news }}
|
||||
{{ $news = i18n $news }}
|
||||
{{ end }}
|
||||
{{ if gt (len $posts) 1 }}
|
||||
<section class="index_section">
|
||||
{{ partial "layout/article_list" (dict "context" . "pages" $posts "amount" "5" "title" "News") }}
|
||||
</section>
|
||||
{{ $feat := "featured" }}
|
||||
{{ if i18n $feat }}
|
||||
{{ $feat = i18n $feat }}
|
||||
{{ end }}
|
||||
|
||||
<div class="two-lists">
|
||||
{{ if gt (len $posts) 1 }}
|
||||
{{ partial "layout/article_list" (dict "context" . "pages" $posts "amount" "3" "title" $news "type" "index") }}
|
||||
{{ end }}
|
||||
{{ if gt (len $featured) 1 }}
|
||||
{{ partial "layout/article_list" (dict "context" . "pages" $featured "amount" "1" "title" $feat "type" "index") }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -1,131 +1,28 @@
|
|||
{{ $metas := dict "when" .context.Params.when "price" .context.Params.price "contact_mail" .context.Params.contact_mail "covid" .context.Params.covid "insta" .context.Params.insta }}
|
||||
{{ if eq .type "list" }}
|
||||
{{ $metas = dict "when" .context.Params.when "price" .context.Params.price }}
|
||||
{{ $banner := slice }}
|
||||
{{ $image := slice }}
|
||||
{{ $thumb := "" }}
|
||||
{{ if .context.Resources.GetMatch "banner*" }}
|
||||
{{ $banner = slice (.context.Resources.GetMatch "banner*") }}
|
||||
{{ end }}
|
||||
{{ if .context.Resources.ByType "image" }}
|
||||
{{ $image = .context.Resources.ByType "image" }}
|
||||
{{ end }}
|
||||
{{ $image = (index (complement $banner $image) 0) }}
|
||||
{{ if $banner }}
|
||||
{{ $image = (index $banner 0) }}
|
||||
{{ end }}
|
||||
{{ $image = .context.Resources.GetMatch (string $image) }}
|
||||
{{ if ne $image nil }}
|
||||
{{ $thumb1 := $image.Fill "1280x480 smart"}}
|
||||
{{ $thumb = $image}}
|
||||
{{ end }}
|
||||
{{ $type := .type }}
|
||||
|
||||
{{ $pic := "solo" }}
|
||||
{{ $text := "solo" }}
|
||||
{{ if eq $type "list" }}
|
||||
{{- if and (.context.Resources.ByType "image") (.context.Content) -}}
|
||||
{{ $pic = "multiple_small" }}
|
||||
{{ $text = "multiple_big" }}
|
||||
{{ else if and (.context.Resources.ByType "image") (not (.context.Content)) }}
|
||||
{{ $pic = "multiple_medium" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ partial "snippets/article_metadata" $metas }}
|
||||
<div class="articleinner">
|
||||
{{ $i := .context.Resources.ByType "image" }}
|
||||
{{- if .context.Content -}}
|
||||
{{ if eq $type "list" }}
|
||||
{{ if .context.Resources.Match "banner*" }}
|
||||
<div class="articlepicture {{ $pic }}">
|
||||
{{ range $i }}
|
||||
{{ if hasPrefix .Name "banner" }}
|
||||
{{ $img := . }}
|
||||
{{ $thumb := $img.Resize "500x" }}
|
||||
<img src="{{ $thumb.Permalink }}" />
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
<div class="articletext {{ $text }}">
|
||||
{{ if eq .type "list" }}{{- .context.Summary -}}{{ else }}{{- .context.Content -}}{{ end }}
|
||||
{{ if and .context.Truncated (eq .type "list") }}
|
||||
<div class="readmore">{{- if i18n "readmore" -}}{{- i18n "readmore" -}}{{- else -}}{{- "readmore" -}}{{- end -}}..</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ if eq $type "article" }}
|
||||
<div style="display:flex; flex-direction: column;">
|
||||
{{ range $i }}
|
||||
{{ if not (hasPrefix .Name "banner") }}
|
||||
{{ $img := . }}
|
||||
{{ $thumb := $img.Resize "500x" }}
|
||||
<a href="{{ $img.Permalink }}"><img src="{{ $thumb.Permalink }}" /></a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ range first 1 $i }}
|
||||
{{ if not (hasPrefix .Name "banner") }}
|
||||
{{ $img := . }}
|
||||
{{ $thumb := $img.Resize "500x" }}
|
||||
<img src="{{ $thumb.Permalink }}" />
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
|
||||
{{ define "pagefooter" }}
|
||||
{{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }}
|
||||
<div class="article_footer">
|
||||
{{ with .Params.foundations }}
|
||||
<b>Träger der Veranstaltung:</b>
|
||||
<div class="article_footer_foundations1">
|
||||
{{ range . }}
|
||||
{{ $l := . }}
|
||||
{{ $url := "" }}
|
||||
{{ if isset site.Params.foundations $l }}
|
||||
{{ $url = index site.Params.foundations $l }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{- $res_im := resources.GetMatch (printf "/images/foundations/%s*" $l ) -}}
|
||||
{{ if $res_im }}
|
||||
<div class="article_footer_item1">
|
||||
{{ if $url }}<a href="{{ $url | safeHTML }}">{{ end }}<img src="{{- $res_im.Permalink -}}" class="borderrad4px article_footer_item1" /> {{ if $url }}</a>{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="article_footer_item1">
|
||||
assets/images/foundations/{{- $l -}} .* missing
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="article_footer_foundations2">
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b>
|
||||
{{ .Date | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ if ne .Date .Lastmod }}
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b>
|
||||
{{ .Lastmod | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- if .context.Content -}}
|
||||
<div class="article_content minheight">{{- .context.Content -}}</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ if ne .Type "tools" }}
|
||||
<aside id="sidebar">
|
||||
|
||||
<h3 class="align_menu">{{ if i18n "categories" }}{{ i18n "categories" }}{{ else }}{{ "Categories" }}{{ end }}</h3>
|
||||
{{ range .Params.categories }}
|
||||
<div class="align_menu"><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ if .Params.events }}
|
||||
{{ range .Params.events }}
|
||||
<div class="align_menu"><a href="{{ "/events/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<h3 class="align_menu"><a href="{{ "/tags/" | relLangURL }}">{{ if i18n "tags" }}{{ i18n "tags" }}{{ else }}{{ "Tags" }}{{ end }}</a></h3>
|
||||
{{ range .Params.tags }}
|
||||
<div class="align_menu"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</aside>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -0,0 +1,132 @@
|
|||
{{ $metas := dict "when" .context.Params.when "price" .context.Params.price "contact_mail" .context.Params.contact_mail "covid" .context.Params.covid "insta" .context.Params.insta }}
|
||||
{{ if eq .type "list" }}
|
||||
{{ $metas = dict "when" .context.Params.when "price" .context.Params.price }}
|
||||
{{ end }}
|
||||
{{ $type := .type }}
|
||||
|
||||
{{ $pic := "solo" }}
|
||||
{{ $text := "solo" }}
|
||||
{{ if eq $type "list" }}
|
||||
{{- if and (.context.Resources.ByType "image") (.context.Content) -}}
|
||||
{{ $pic = "multiple_small" }}
|
||||
{{ $text = "multiple_big" }}
|
||||
{{ else if and (.context.Resources.ByType "image") (not (.context.Content)) }}
|
||||
{{ $pic = "multiple_medium" }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ partial "snippets/article_metadata" $metas }}
|
||||
<div class="articleinner">
|
||||
{{ $i := .context.Resources.ByType "image" }}
|
||||
{{- if .context.Content -}}
|
||||
{{ if eq $type "list" }}
|
||||
{{ if .context.Resources.Match "banner*" }}
|
||||
<div class="articlepicture {{ $pic }}">
|
||||
{{ range $i }}
|
||||
{{ if hasPrefix .Name "banner" }}
|
||||
{{ $img := . }}
|
||||
{{ $thumb := $img.Resize "500x" }}
|
||||
<img src="{{ $thumb.Permalink }}" />
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
<div class="articletext {{ $text }}">
|
||||
{{ if eq .type "list" }}{{- .context.Summary -}}{{ else }}{{- .context.Content -}}{{ end }}
|
||||
{{ if and .context.Truncated (eq .type "list") }}
|
||||
<div class="readmore">{{- if i18n "readmore" -}}{{- i18n "readmore" -}}{{- else -}}{{- "readmore" -}}{{- end -}}..</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ if eq $type "article" }}
|
||||
<div style="display:flex; flex-direction: column;">
|
||||
{{ range $i }}
|
||||
{{ if not (hasPrefix .Name "banner") }}
|
||||
{{ $img := . }}
|
||||
{{ $thumb := $img.Resize "500x" }}
|
||||
<a href="{{ $img.Permalink }}"><img src="{{ $thumb.Permalink }}" /></a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ range first 1 $i }}
|
||||
{{ if not (hasPrefix .Name "banner") }}
|
||||
{{ $img := . }}
|
||||
{{ $thumb := $img.Resize "500x" }}
|
||||
<img src="{{ $thumb.Permalink }}" />
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
|
||||
{{ define "pagefooter" }}
|
||||
{{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }}
|
||||
<div class="article_footer">
|
||||
{{ with .Params.foundations }}
|
||||
<b>Träger der Veranstaltung:</b>
|
||||
<div class="article_footer_foundations1">
|
||||
{{ range . }}
|
||||
{{ $l := . }}
|
||||
{{ $url := "" }}
|
||||
{{ if isset site.Params.foundations $l }}
|
||||
{{ $url = index site.Params.foundations $l }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{- $res_im := resources.GetMatch (printf "/images/foundations/%s*" $l ) -}}
|
||||
{{ if $res_im }}
|
||||
<div class="article_footer_item1">
|
||||
{{ if $url }}<a href="{{ $url | safeHTML }}">{{ end }}<img src="{{- $res_im.Permalink -}}" class="borderrad4px article_footer_item1" /> {{ if $url }}</a>{{ end }}
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="article_footer_item1">
|
||||
assets/images/foundations/{{- $l -}} .* missing
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="article_footer_foundations2">
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b>
|
||||
{{ .Date | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ if ne .Date .Lastmod }}
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b>
|
||||
{{ .Lastmod | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ if ne .Type "tools" }}
|
||||
<aside class="sidebar">
|
||||
{{ if .Params.categories }}
|
||||
<h3 class="align_menu">{{ if i18n "categories" }}{{ i18n "categories" }}{{ else }}{{ "Categories" }}{{ end }}</h3>
|
||||
{{ range .Params.categories }}
|
||||
<div class="align_menu"><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if .Params.events }}
|
||||
{{ range .Params.events }}
|
||||
<div class="align_menu"><a href="{{ "/events/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<h3 class="align_menu"><a href="{{ "/tags/" | relLangURL }}">{{ if i18n "tags" }}{{ i18n "tags" }}{{ else }}{{ "Tags" }}{{ end }}</a></h3>
|
||||
{{ range .Params.tags }}
|
||||
<div class="align_menu"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</aside>
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -1,5 +1,6 @@
|
|||
{{ if and .amount .pages }}
|
||||
{{ $amount := .amount }}
|
||||
{{ $type := .type }}
|
||||
{{ $pages := .pages.ByLastmod.Reverse }}
|
||||
{{ $p := .pages.ByLastmod.Reverse }}
|
||||
|
||||
|
@ -15,19 +16,57 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{- if gt (len $pages) 0 -}}
|
||||
<section>
|
||||
<section class="list">
|
||||
{{ if .title }}<h2>{{ .title }}</h2>{{ end }}
|
||||
{{- $home := .context.Kind }}
|
||||
{{- range first $amount $p -}}
|
||||
<article class="article_list {{- if eq $home "home" }} height32{{- end -}}">
|
||||
<a href="{{- .Permalink -}}" class="no_underline">
|
||||
<article class="article_list_section">
|
||||
<a href="{{- .Permalink -}}">
|
||||
<div class="articletitle">
|
||||
<h2>{{- .Title -}}</h2>
|
||||
{{ $cat := "" }}
|
||||
{{ if .Page.Params.events }}
|
||||
{{ $cat = index .Page.Params.events 0 }}
|
||||
{{ $cat = printf "%s: " $cat }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq $type "index" }}
|
||||
<h3>{{ $cat -}}{{- .Title -}}</h3>
|
||||
{{ else }}
|
||||
<h2>{{ $cat -}}{{- .Title -}}</h2>
|
||||
{{ end }}
|
||||
</div>
|
||||
</a>
|
||||
<a href="{{- .Permalink -}}" class="no_underline">
|
||||
<div class="articlecontent">
|
||||
{{ partial "layout/article" (dict "context" . "type" "list" "pic" "true") }}
|
||||
{{ $metas := dict "when" .Params.when "price" .Params.price }}
|
||||
{{ $banner := slice }}
|
||||
{{ $image := slice }}
|
||||
{{ $thumb := "" }}
|
||||
{{ if .Resources.GetMatch "banner*" }}
|
||||
{{ $banner = slice (.Resources.GetMatch "banner*") }}
|
||||
{{ end }}
|
||||
{{ if .Resources.ByType "image" }}
|
||||
{{ $image = .Resources.ByType "image" }}
|
||||
{{ end }}
|
||||
{{ $image = (index (complement $banner $image) 0) }}
|
||||
{{ if $banner }}
|
||||
{{ $image = (index $banner 0) }}
|
||||
{{ end }}
|
||||
{{ $image = .Resources.GetMatch (string $image) }}
|
||||
{{ if ne $image nil }}
|
||||
{{ $thumb1 := $image.Fill "1280x480 smart"}}
|
||||
{{ $thumb = $image}}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "snippets/article_metadata" $metas }}
|
||||
{{ if $thumb }}
|
||||
<img src="{{ $thumb.Permalink }}" width="100%"/>
|
||||
{{ end }}
|
||||
{{- if .Content -}}
|
||||
|
||||
<div class="article_content"><p>{{- .Summary -}}<p></div>
|
||||
|
||||
{{ end }}
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ if or .when .price .contact_mail .covid .insta }}
|
||||
|
||||
<div class="articlemeta font_size_smaller">
|
||||
<div class="articlemeta">
|
||||
{{ if .when }}
|
||||
<div>{{ .when }}</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -16,20 +16,17 @@
|
|||
{{ end }}
|
||||
{{ $banner := printf "/images/banner/%s*" $what }}
|
||||
{{ if resources.GetMatch $banner }}
|
||||
{{ $img = resources.GetMatch $banner }}
|
||||
{{ $img = (resources.GetMatch $banner).Fill "1280x480 smart" }}
|
||||
{{ end }}
|
||||
|
||||
{{ if resources.GetMatch $banner }}
|
||||
<div style="background-image:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url({{- $img.Permalink -}}); min-height: 33vh; display: flex; justify-content: center; align-items: center; background-position: bottom center;
|
||||
background-repeat: no-repeat;
|
||||
background-size:cover;
|
||||
background-attachment:fixed; padding-top: 5rem;"><h1 style="font-size: 350%; color: white;">{{ $title }}</h1></div>
|
||||
{{ else if .Resources.Match "banner*" }}
|
||||
{{ $img = (.Resources.GetMatch "banner*") }}
|
||||
<div style="background-image:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url({{- $img.Permalink -}}); min-height: 33vh; display: flex; justify-content: center; align-items: center; background-position: bottom center;
|
||||
background-repeat: no-repeat;
|
||||
background-size:cover;
|
||||
background-attachment:fixed; padding-top: 5rem;"><h1 style="font-size: 350%; color: white;">{{ $title }}</h1></div>
|
||||
{{ if and (resources.GetMatch $banner) (ne .Params.banner false) }}
|
||||
<div style="background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url({{- $img.Permalink -}});" class="banner banner-shadow"><h1 class="dark-shadow">{{ $title }}</h1></div>
|
||||
{{ else if and (.Resources.Match "banner*") (ne .Params.banner false) }}
|
||||
{{ $img = (.Resources.GetMatch "banner*").Fill "1280x480 smart" }}
|
||||
<div style="background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url({{- $img.Permalink -}});" class="banner banner-shadow"><h1 class="dark-shadow">{{ $title }}</h1></div>
|
||||
{{ else if and (.Resources.ByType "image") (ne .Params.banner false) }}
|
||||
{{ $img = (index (.Resources.ByType "image") 0).Fill "1280x480 smart" }}
|
||||
<div style="background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url({{- $img.Permalink -}});" class="banner banner-shadow"><h1 class="dark-shadow">{{ $title }}</h1></div>
|
||||
{{ else }}
|
||||
<h1 style="margin-left: 2rem; margin-bottom: 0; color: white; padding-top: 5rem;">{{ $title }}</h1>
|
||||
<div class="banner"><h1>{{ $title }}</h1></div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<section id="underline_links">{{ .content }}</section>
|
||||
<section class="page-intro">{{ .content }}</section>
|
||||
|
|
|
@ -2,17 +2,11 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
{{ $pico := resources.Get "css/pico.css" }}
|
||||
{{ $water := resources.Get "css/color.css" }}
|
||||
{{ $header := resources.Get "css/header.css" }}
|
||||
{{ $main := resources.Get "css/main.css" }}
|
||||
{{ $article := resources.Get "css/article.css" }}
|
||||
{{ $paginator := resources.Get "css/paginator.css" }}
|
||||
{{ $footer := resources.Get "css/footer.css" }}
|
||||
{{ $classes := resources.Get "css/classes.css" }}
|
||||
{{ $generator := resources.Get "css/generator.css" }}
|
||||
{{ $big := resources.Get "css/big.css" }}
|
||||
{{ $allcss := slice $water $header $main $article $paginator $footer $generator $big $classes | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }}
|
||||
|
||||
{{ $common := resources.Get "scss/common.scss" | resources.ToCSS }}
|
||||
{{ $water := resources.Get "css/water.css" | resources.ToCSS }}
|
||||
{{ $big := resources.Get "scss/big.scss" | resources.ToCSS }}
|
||||
{{ $allcss := slice $water $common $big | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" href="{{ $allcss.RelPermalink }}" integrity="{{ $allcss.Data.Integrity }}">
|
||||
|
||||
|
||||
|
|
|
@ -1,19 +1,17 @@
|
|||
{{ $img := resources.GetMatch "/images/logo_back_full.svg" }}
|
||||
|
||||
|
||||
<div id="headerinner" style="background: var(--background); background-size: cover;">
|
||||
<a href="/">
|
||||
<a href="/" style="margin-left: .8rem;">
|
||||
<img src="/images/logo.svg" alt="SVG mit img laden" class="dark-shadow">
|
||||
</a>
|
||||
<div id="menu">
|
||||
<div>
|
||||
{{- range site.Params.mainMenu -}}
|
||||
{{ $name := . }}
|
||||
{{ if i18n . }}
|
||||
{{ $name = i18n . }}
|
||||
{{ end }}
|
||||
<a href="{{- . | relLangURL -}}" class="dark-shadow">{{- $name | humanize -}}</a>
|
||||
<a href="{{- . | relLangURL -}}" style="margin-left: .8rem; color: white;" class="dark-shadow">{{- $name | humanize -}}</a>
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||
<div>
|
||||
<h3 class="align_menu"><a href="{{ "/news" | relLangURL}}">{{ if i18n "news" }}{{ i18n "news" }}{{ else }}{{ "News" }}{{ end }}</a></h3>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
{{ $taxonomyname = i18n $taxonomyname }}
|
||||
{{ else }}
|
||||
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||
{{ end }}
|
||||
<div class="align_menu"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if gt .Site.Taxonomies.events 0 }}
|
||||
<div>
|
||||
<h3 class="align_menu"><a href="{{ "/events" | relLangURL}}">{{ if i18n "events" }}{{ i18n "events" }}{{ else }}{{ "Events" }}{{ end }}</a></h3>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
{{ $taxonomyname = i18n $taxonomyname }}
|
||||
{{ else }}
|
||||
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||
{{ end }}
|
||||
<div class="align_menu"><a href="{{ "events/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .IsHome }}
|
||||
{{ partial "snippets/langs" . }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue