6
0
Fork 0

Fix: adres-weergave

This commit is contained in:
Michael Boelen 2023-05-16 09:45:23 +02:00
parent 3799c4520a
commit 8a279aa667

View file

@ -34,7 +34,7 @@
<div class="highlight-box">
<h3>{{ .name }}</h3>
{{ with .date_start | dateFormat "02-01-2006" }}<p>Datum: {{ . }}</p>{{ end }}
{{ with .event_address }}<p>Adres: {{ . }}</p>{{ end }}
{{ with .event_address }}<p><strong>Adres</strong>: {{ with .street_address }}{{ . }}{{ end }}{{ with .postal_code }}, {{ . }}{{ end }}{{ with .city }}, {{ . }}{{ end }}{{ with .country }}, {{ . }}{{ end }}</p>{{ end }}
{{ with .event_url }}<a href="{{ . }}" class="button">Meer informatie</a>{{ end }}
</div>
{{ end }}