abkommen60jahre.de/_includes/event.njk

42 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-26 19:23:59 +00:00
<article class="event">
2021-09-25 11:15:21 +00:00
<p class="event-time">{{ event.time }}</p>
2021-10-15 12:21:28 +00:00
<h1 class="event-title">{{ event.title | safe }}</h1>
2021-09-25 11:15:21 +00:00
2021-09-26 19:23:59 +00:00
<p class="event-details">{{ event.details | safe }}</p>
2021-09-25 11:15:21 +00:00
2021-10-05 14:33:55 +00:00
<div class="event-description">{{ event.description | md | safe }}</div>
2021-09-25 11:15:21 +00:00
2021-09-26 19:23:59 +00:00
<address class="event-location">
2021-10-08 17:22:33 +00:00
{% if event.organiser %}
{{ event.organiser }}<br><br>
{% endif %}
2021-09-26 19:23:59 +00:00
{{ event.location.name }}
{% if event.location.place %} <br>{{ event.location.place }} {% endif %}
{% if event.location.address %} <br>{{ event.location.address }} {% endif %}
{% if event.location.city %} <br>{{ event.location.city }} {% endif %}
</address>
2021-09-25 11:15:21 +00:00
2021-09-26 19:23:59 +00:00
{% if event.people %}
<div class="event-people">
<h5>Ansprechpartner:</h5>
<ul class="event-people-list">
{% for person in event.people %}
<li>
2021-10-08 17:22:33 +00:00
{% if person.name %}
{{ person.name }}
{% endif %}
2021-09-26 19:23:59 +00:00
{% if person.email %}
<br><a href="mailto:{{ person.email }}" class="event-people-link">{{ person.email }}</a>
{% endif %}
{% if person.tel %}
<br><a href="tel:{{ person.tel }}" class="event-people-link">{{ person.tel }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
{% endif %}
</article>