forked from Bunteshaus/bunteshaus.de
24 lines
1.0 KiB
HTML
24 lines
1.0 KiB
HTML
{{ if or .when .price .contact .covid }}
|
|
|
|
<div class="articlemeta font_size_smaller">
|
|
{{ if .when }}
|
|
<div>{{ .when }}</div>
|
|
{{ end }}
|
|
{{ if .price }}
|
|
{{ if eq .price "free" }}
|
|
<div>{{ if i18n "freeentry" }}{{ i18n "freeentry" }}{{ else }}{{ "Free Entry" }}{{ end }}</div>
|
|
{{ else if eq .price "donation" }}
|
|
<div>{{ if i18n "donationentry" }}{{ i18n "donationentry" }}{{ else }}{{ "Voluntary Donation" }}{{ end }}</div>
|
|
{{ else }}
|
|
<div>{{ if i18n "entry" }}{{ i18n "entry" }}{{ else }}{{ "Entry" }}{{ end }}: {{ .price }}</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ if .contact }}
|
|
<div>{{ if i18n "contact" }}{{ i18n "contact" }}{{ else }}{{ "Contact" }}{{ end }} {{ .contact | markdownify }} {{ if i18n "or" }}{{ i18n "or" }}{{ else }}{{ "or" }}{{ end }} <a href="tel://{{ site.Params.imprintdata.tel }}">{{ site.Params.imprintdata.tel }}</a></div>
|
|
{{ end }}
|
|
{{ if .covid }}
|
|
<div>Covid: {{ .covid }}</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|