diff --git a/themes/buha/assets/scss/banner.scss b/themes/buha/assets/scss/banner.scss
index f5b8ab8..f9f3bb6 100644
--- a/themes/buha/assets/scss/banner.scss
+++ b/themes/buha/assets/scss/banner.scss
@@ -31,18 +31,7 @@ $mq-retina: "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)";
display: flex;
flex-direction: column;
justify-content: flex-end;
- .title_index {
- word-break: break-all;
- color: var(--text-main);
- background: var(--background-body-opaq);
- text-align: center;
- margin-bottom: 0;
- text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
- 0px 8px 13px rgba(0,0,0,0.1),
- 0px 18px 23px rgba(0,0,0,0.1);
-
- }
- .title, {
+ .title {
background: var(--background-body-opaq);
word-break: break-all;
color: var(--text-main);
@@ -55,7 +44,7 @@ $mq-retina: "(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)";
}
}
.altbg {
- max-height: 5em;
+ max-height: 6em;
}
@media #{$mq-tiny} {
diff --git a/themes/buha/layouts/posts/single.html b/themes/buha/layouts/posts/single.html
index a71150f..2fe9343 100644
--- a/themes/buha/layouts/posts/single.html
+++ b/themes/buha/layouts/posts/single.html
@@ -47,7 +47,6 @@
{{ end }}
{{ $content := .Content }}
-
{{ if or .Content (.Resources.ByType "image")}}
{{- if .Content -}}
@@ -109,48 +108,46 @@
{{ end }}
{{ define "inner_footer" }}
- {{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }}
-
- {{ with .Params.foundations }}
-
Träger der Veranstaltung:
-
- {{ range . }}
- {{ $l := . }}
- {{ $url := "" }}
- {{ if isset site.Params.foundations $l }}
- {{ $url = index site.Params.foundations $l }}
- {{ end }}
-
+
+ {{ with .Params.foundations }}
+
Träger der Veranstaltung:
+
+ {{ 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 }}
+
+ {{- $res_im := resources.GetMatch (printf "/images/foundations/%s*" $l ) -}}
+ {{ if $res_im }}
+
+ {{ else }}
+ {{ if eq hugo.Environment "development" }}
{{ else }}
- {{ if eq hugo.Environment "development" }}
-
- assets/images/foundations/{{- $l -}} .* missing
-
- {{ else }}
- picture missing.
- {{ end }}
+ picture missing.
{{ end }}
{{ end }}
+ {{ end }}
+
+ {{ end }}
+
+
+
{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}:
+
{{ .Date | time.Format ":date_full" }}
+
+ {{ if ne .Date .Lastmod }}
+
+
{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}:
+
{{ .Lastmod | time.Format ":date_full" }}
{{ end }}
-
-
-
{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}:
-
{{ .Date | time.Format ":date_full" }}
-
- {{ if ne .Date .Lastmod }}
-
-
{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}:
-
{{ .Lastmod | time.Format ":date_full" }}
-
- {{ end }}
-
-
- {{ end }}
+
+
{{ end }}