diff --git a/assets/images/foundations/rote_hilfe.png b/assets/images/foundations/rote_hilfe.png new file mode 100644 index 0000000..8c92f4c Binary files /dev/null and b/assets/images/foundations/rote_hilfe.png differ diff --git a/assets/images/foundations/werbung.jpeg b/assets/images/foundations/werbung.jpeg new file mode 100644 index 0000000..883772a Binary files /dev/null and b/assets/images/foundations/werbung.jpeg differ diff --git a/config/_default/params.toml b/config/_default/params.toml index 43ad35e..0ed2698 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -48,3 +48,4 @@ header_heigth = "460" [foundations] jusos = "https://jusos.de/" + rote_hilfe = "https://www.rote-hilfe.de/" diff --git a/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md b/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md index 1e1997f..17d85de 100644 --- a/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md +++ b/content/news/2022-04-04-Konzert-Katzengejammer/index.de.md @@ -6,7 +6,7 @@ when: "Montag, 04.04.2022, 23.23 Uhr" categories: ["Pressemitteilung"] events: ["Konzert"] price: "free" -foundations: ["rote_hilfe"] +foundations: ["rote_hilfe", "werbung"] covid: "Keine Masken mehr!" --- Endlich wieder nach langer Covidauszeit sind die Kitten von Katzengejammer wieder am Start. Sie werden euch einen unvergesslichen Abend voller Katzengejammer bieten. diff --git a/themes/buha/assets/scss/article.scss b/themes/buha/assets/scss/article.scss index 2d3629c..3bb6e12 100644 --- a/themes/buha/assets/scss/article.scss +++ b/themes/buha/assets/scss/article.scss @@ -15,17 +15,31 @@ article { font-size: 60%; display: flex; flex-direction: column; - justify-content: center; + align-items: center; margin-top: 1rem; - .foundations { + .bold { + font-weight: bold; + margin-right: .4em; + } + .foundations_items { display: flex; margin-bottom: 1em; + img { + margin-right: .4rem; + max-height: 4rem; + } } - .mod_times, .foundations { + .mod_times { display: flex; flex-direction: column; - .mod_times_item:first-child, { - margin-bottom: .4em; + .mod_times_item { + display: flex; } } } + +@media (min-width: 640px) { + .article_footer { + align-items: flex-start; + } +} diff --git a/themes/buha/layouts/_default/single.html b/themes/buha/layouts/_default/single.html index 1ee60d9..5b976c1 100644 --- a/themes/buha/layouts/_default/single.html +++ b/themes/buha/layouts/_default/single.html @@ -61,8 +61,8 @@ {{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }}
{{ with .Params.foundations }} - Träger der Veranstaltung: -
+
Träger der Veranstaltung:
+
{{ range . }} {{ $l := . }} {{ $url := "" }} @@ -88,18 +88,18 @@ {{ end }}
{{ end }} -
-
- {{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }} - {{ .Date | time.Format ":date_full" }} -
+
+
+
{{ 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" }} +
{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}:
+
{{ .Lastmod | time.Format ":date_full" }}
{{ end }} -
+
{{ end }} {{ end }}