forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
225f9ab112
commit
65986c3bcb
|
@ -63,6 +63,9 @@ foundations = 'foundations'
|
|||
country = "Niedersachsen / Deutschland"
|
||||
executive = "Ingileif Bech"
|
||||
nonprofit = true
|
||||
|
||||
[params.foundations]
|
||||
brentrup = "https://heise.de"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS"]
|
||||
|
|
|
@ -5,6 +5,7 @@ when: "Montag, 04.04.2022, 23.23 Uhr"
|
|||
events: ["Konzert"]
|
||||
price: "free"
|
||||
foundations: ["brentrup","aktionmensch"]
|
||||
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. Katzengejammer sind seit Jahren der Renner um alle Mäuse aus der Küche zu vertreiben und zum dancen im Gemüsebeet zu bewegen.
|
||||
|
|
|
@ -54,10 +54,16 @@
|
|||
<div style="display: flex; flex-direction: row; height: 2rem; margin-bottom: 1rem; margin-top: .4rem;">
|
||||
{{ range . }}
|
||||
{{ $l := . }}
|
||||
{{ $url := "" }}
|
||||
{{ if isset site.Params.foundations $l }}
|
||||
{{ $url = index site.Params.foundations $l }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{- $res_im := resources.GetMatch (printf "/foundations/%s*" $l ) -}}
|
||||
{{ if $res_im }}
|
||||
<div style="display: flex; flex-grow: 0;">
|
||||
<img src="{{- $res_im.Permalink -}}" class="borderrad4px" />
|
||||
{{ if $url }}<a href="{{ $url | safeHTML }}" style="display: flex; flex-grow: 0;">{{ end }}<img src="{{- $res_im.Permalink -}}" class="borderrad4px" /> {{ if $url }}</a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user