forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
83f4c88960
commit
277d9cba00
BIN
assets/images/banner/about.jpg
Normal file
BIN
assets/images/banner/about.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
assets/images/banner/home.jpg
Normal file
BIN
assets/images/banner/home.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
assets/images/banner/news.jpg
Normal file
BIN
assets/images/banner/news.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
assets/images/banner/tools.jpg
Normal file
BIN
assets/images/banner/tools.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Archiv"
|
title: "Archiv"
|
||||||
layout: "archive"
|
layout: "archive"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Kontakt"
|
title: "Kontakt"
|
||||||
layout: "contact"
|
layout: "contact"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
Konzerte: konzerte@bunteshaus.de
|
Konzerte: konzerte@bunteshaus.de
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Impressum"
|
title: "Impressum"
|
||||||
layout: "generic_single"
|
layout: "generic_single"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
Angaben gemäß § 5 TMG
|
Angaben gemäß § 5 TMG
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Links"
|
title: "Links"
|
||||||
layout: "links"
|
layout: "links"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
http://list-celle.over-blog.com/
|
http://list-celle.over-blog.com/
|
||||||
Gruppe LiST: Land in Sicht - Transition Celle
|
Gruppe LiST: Land in Sicht - Transition Celle
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Verschiedenes"
|
title: "Verschiedenes"
|
||||||
layout: "section_list"
|
layout: "section_list"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
---
|
---
|
||||||
title: "Flyertext"
|
title: "Flyertext"
|
||||||
date: 2021-06-22T23:00:00+02:00
|
date: 2021-06-22T23:00:00+02:00
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
**Der folgende Text muss auf jedem Flyer gedruckt werden:**
|
**Der folgende Text muss auf jedem Flyer gedruckt werden:**
|
||||||
|
|
||||||
Das Bunte Haus ist kein Ort für Rassismus, Antisemitismus, Sexismus oder Diskriminierung aufgrund sexueller Orientierungen! Wenn ihr dumm angemacht, angefasst oder sonst wie belästigt werdet meldet euch an der Theke, der Kasse oder bei den Türsteher*innen. Ihr entscheidet selbst, wo eure Grenzen liegen!
|
Das Bunte Haus ist kein Ort für Rassismus, Antisemitismus, Sexismus oder Diskriminierung aufgrund sexueller Orientierungen! Wenn ihr dumm angemacht, angefasst oder sonst wie belästigt werdet meldet euch an der Theke, der Kasse oder bei den Türsteher*innen. Ihr entscheidet selbst, wo eure Grenzen liegen!
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Medien"
|
title: "Medien"
|
||||||
layout: "media"
|
layout: "media"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Partyunterlagen"
|
title: "Partyunterlagen"
|
||||||
date: 2021-06-22T23:00:00+02:00
|
date: 2021-06-22T23:00:00+02:00
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
## Wie geht ne Party?
|
## Wie geht ne Party?
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Tools"
|
title: "Tools"
|
||||||
layout: "section_list"
|
layout: "section_list"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Generator"
|
title: "Generator"
|
||||||
date: 2021-06-22T23:00:00+02:00
|
date: 2021-06-22T23:00:00+02:00
|
||||||
|
banner: false
|
||||||
description: "generator"
|
description: "generator"
|
||||||
type: "tools"
|
type: "tools"
|
||||||
tool: "generator"
|
tool: "generator"
|
||||||
|
|
|
@ -4,4 +4,5 @@ date: 2021-06-22T23:00:00+02:00
|
||||||
description: "nottranslated"
|
description: "nottranslated"
|
||||||
type: "tools"
|
type: "tools"
|
||||||
tool: "nottranslated"
|
tool: "nottranslated"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
|
|
|
@ -3,7 +3,7 @@ title: "Offenes Café"
|
||||||
date: "2021-10-20T17:00:00+02:00"
|
date: "2021-10-20T17:00:00+02:00"
|
||||||
about: true
|
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"
|
||||||
events: ["Regelmäßig"]
|
|
||||||
tags: ["Cafe"]
|
tags: ["Cafe"]
|
||||||
|
recurrent: true
|
||||||
---
|
---
|
||||||
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!
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Newsletter"
|
title: "Newsletter"
|
||||||
layout: "generic_single"
|
layout: "generic_single"
|
||||||
|
banner: false
|
||||||
---
|
---
|
||||||
Wenn ihr in unseren Newsletter aufgenommen werden wollt, schickt uns eine email!
|
Wenn ihr in unseren Newsletter aufgenommen werden wollt, schickt uns eine email!
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
article {
|
article {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: 1rem;
|
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
@ -80,7 +79,6 @@ article .readmore {
|
||||||
.articleinner {
|
.articleinner {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
margin-left: .3rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.article_footer {
|
.article_footer {
|
||||||
|
|
|
@ -31,10 +31,6 @@
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
.margin_left_1rem {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.margin_right_1rem {
|
.margin_right_1rem {
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,17 +19,16 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
padding-left: 1rem;
|
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
|
@ -39,10 +38,9 @@ aside {
|
||||||
section {
|
section {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-left: 0rem;
|
|
||||||
padding: 1rem;
|
|
||||||
align-items: stretch;
|
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes color {
|
@keyframes color {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<header>
|
<header>
|
||||||
{{ partial "snippets/header" . }}
|
{{ partial "snippets/header" . }}
|
||||||
</header>
|
</header>
|
||||||
{{ partial "snippets/banner" . -}}
|
{{ partial "snippets/banner" . -}}
|
||||||
<main id="main">
|
<main id="main">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
{{ block "content" . -}}{{- end }}
|
{{ block "content" . -}}{{- end }}
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
{{- $pages = .Data.Pages -}}
|
{{- $pages = .Data.Pages -}}
|
||||||
{{ else if eq .Section "featured" }}
|
{{ else if eq .Section "featured" }}
|
||||||
{{- $pages = where $pages ".Params.featured" "=" true -}}
|
{{- $pages = where $pages ".Params.featured" "=" true -}}
|
||||||
|
{{ else if eq .Section "recurrent" }}
|
||||||
|
{{- $pages = where $pages ".Params.recurrent" "=" true -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if eq .Kind "term" }}
|
{{ if eq .Kind "term" }}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
{{ partial "debug" (dict "context" . "caller" "single_chooser.html")}}
|
|
||||||
{{ $partial_before := "" }}
|
{{ $partial_before := "" }}
|
||||||
{{ $partial := "layout/article" }}
|
{{ $partial := "layout/article" }}
|
||||||
{{ $pic := "true" }}
|
{{ $pic := "true" }}
|
||||||
|
|
|
@ -4,25 +4,21 @@
|
||||||
{{ $featured := where (where (where $all ".Params.featured" "=" true) "Type" "in" .Site.Params.searchSections) ".Params.Lastmod" "gt" (now.AddDate 0 0 $days) }}
|
{{ $featured := where (where (where $all ".Params.featured" "=" true) "Type" "in" .Site.Params.searchSections) ".Params.Lastmod" "gt" (now.AddDate 0 0 $days) }}
|
||||||
{{ $featured = $all | intersect $featured }}
|
{{ $featured = $all | intersect $featured }}
|
||||||
{{ $posts := $all | complement $featured }}
|
{{ $posts := $all | complement $featured }}
|
||||||
{{- $paginator := .Paginate $posts -}}
|
{{ if ne .Content "" }}
|
||||||
{{ if eq $paginator.PageNumber 1 }}
|
{{ partial "snippets/content" (dict "content" .Content) }}
|
||||||
{{ if ne .Content "" }}
|
{{ end }}
|
||||||
{{ partial "snippets/content" (dict "content" .Content) }}
|
<div style="display: flex; flex-wrap: wrap;">
|
||||||
{{ end }}
|
{{ if gt (len $featured) 1 }}
|
||||||
{{ partial "layout/article_list" (dict "context" . "pages" $featured "amount" "3" "title" "Featured") }}
|
<section style="width: 40%;">
|
||||||
{{ end }}
|
{{ partial "layout/article_list" (dict "context" . "pages" $featured "amount" "5" "title" "Featured") }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
{{ if gt (len $posts) 1 }}
|
{{ if gt (len $posts) 1 }}
|
||||||
{{ partial "layout/article_list" (dict "context" . "pages" $posts "amount" "5" "title" "News" "paginate" true) }}
|
<section style="width: 40%;">
|
||||||
{{ end }}
|
{{ partial "layout/article_list" (dict "context" . "pages" $posts "amount" "5" "title" "News") }}
|
||||||
{{ end }}
|
</section>
|
||||||
|
|
||||||
{{ define "banner" }}
|
|
||||||
{{ 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 -}}); background-size: cover; min-height: 33vh; display: flex; justify-content: center; align-items: center;"><h1 style="font-size: xx-large; text-shadow: -2px 0px 3px rgba(0,0,0,.25), -2px -2px 3px rgba(0,0,0,.25), 0px 2px 3px rgba(0,0,0,.25), 2px 2px 3px rgba(0,0,0,.25); ">{{ .Title }}</h1></div>
|
|
||||||
{{ else }}
|
|
||||||
<h1 style="margin-top: 1rem; margin-left: 1rem; margin-bottom: 0; color: white;">{{ .Title }}</h1>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "sidebar" }}
|
{{ define "sidebar" }}
|
||||||
|
|
|
@ -1,18 +1,24 @@
|
||||||
{{ if and .amount .pages }}
|
{{ if and .amount .pages }}
|
||||||
{{ $amount := .amount }}
|
{{ $amount := .amount }}
|
||||||
{{ $pages := .pages.ByLastmod.Reverse }}
|
{{ $pages := .pages.ByLastmod.Reverse }}
|
||||||
|
{{ $p := .pages.ByLastmod.Reverse }}
|
||||||
|
|
||||||
{{- $paginator := .context.Paginate $pages -}}
|
{{- $paginator := .context.Paginate $pages -}}
|
||||||
|
|
||||||
|
{{ if .paginate }}
|
||||||
|
$p = $paginator.Pages
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if eq $paginator.PageNumber 1 }}
|
{{ if eq $paginator.PageNumber 1 }}
|
||||||
{{ if .content }}
|
{{ if .content }}
|
||||||
{{ partial "snippets/content" (dict "content" .content) }}
|
{{ partial "snippets/content" (dict "content" .content) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if gt (len $pages) 0 -}}
|
{{- if gt (len $pages) 0 -}}
|
||||||
|
<section>
|
||||||
{{ if .title }}<h2>{{ .title }}</h2>{{ end }}
|
{{ if .title }}<h2>{{ .title }}</h2>{{ end }}
|
||||||
{{- range first $amount $pages -}}
|
{{- range first $amount $p -}}
|
||||||
<article class="article_list">
|
<article class="article_list" style="height: 32rem;">
|
||||||
<a href="{{- .Permalink -}}" class="no_underline">
|
<a href="{{- .Permalink -}}" class="no_underline">
|
||||||
<div class="articletitle">
|
<div class="articletitle">
|
||||||
<h2>{{- .Title -}}</h2>
|
<h2>{{- .Title -}}</h2>
|
||||||
|
@ -28,5 +34,6 @@
|
||||||
{{ if .paginate }}
|
{{ if .paginate }}
|
||||||
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
{{ partial "snippets/paginator" (dict "paginator" $paginator) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -4,9 +4,25 @@
|
||||||
{{ if not $title }}
|
{{ if not $title }}
|
||||||
{{ $title = .Title }}
|
{{ $title = .Title }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $img := resources.Get "/images/banner/banner_1.jpg" }}
|
{{ $what := "none" }}
|
||||||
{{ if .Resources.Match "banner*" }}
|
{{ $img := "none" }}
|
||||||
{{ $img = (.Resources.GetMatch "banner*") }}
|
{{ if eq .Kind "home" }}
|
||||||
|
{{ $what = "home" }}
|
||||||
|
{{ else if .File.ContentBaseName }}
|
||||||
|
{{ $what = .File.ContentBaseName }}
|
||||||
|
{{ end }}
|
||||||
|
{{ $banner := printf "/images/banner/%s*" $what }}
|
||||||
|
{{ if resources.GetMatch $banner }}
|
||||||
|
{{ $img = resources.GetMatch $banner }}
|
||||||
|
{{ 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 -}}); background-size: cover; min-height: 33vh; display: flex; justify-content: center; align-items: center;"><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 -}}); background-size: cover; min-height: 33vh; display: flex; justify-content: center; align-items: center;"><h1 style="font-size: 350%; color: white;">{{ $title }}</h1></div>
|
||||||
|
{{ else }}
|
||||||
|
<h1 style="margin-top: 1rem; margin-left: 2rem; margin-bottom: 0; color: white;">{{ $title }}</h1>
|
||||||
|
{{ $banner }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div style="background-image:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url({{- $img.Permalink -}}); background-size: cover; min-height: 33vh; display: flex; justify-content: center; align-items: center;"><h1 style="font-size: 350%; color: white;">{{ $title }}</h1></div>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user