27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
{{ if or .when .price .contact_mail .covid .insta }}
|
|
|
|
<div class="articlemeta">
|
|
{{ 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 .insta }}
|
|
<div>Instagram: <a href="https://instagram.com/{{- .insta -}}">https://instagram.com/{{- .insta -}}</a></div>
|
|
{{ end }}
|
|
{{ if .contact_mail }}
|
|
<div>{{ if i18n "mail" }}{{ i18n "mail" }}{{ else }}{{ "mail" }}{{ end }} {{ .contact_mail | markdownify }}</div>
|
|
{{ end }}
|
|
{{ if .covid }}
|
|
<div>Covid: {{ .covid }}</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|