blob: 0ccadc1d14e706a68f1aa933c82c7060efecd709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{% macro event_attributes(event) %}
<dl>
<dt>Date</dt>
<dd>
{% if event.date %}
<time datetime="{{ event.date }}">{{ event.date | date(format="%A, %e %B %Y at %R", timezone="Europe/Berlin") }}</time>
{% else %}
<i>To be announced</i>
{% endif %}
</dd>
<dt>Venue</dt>
<dd>
{% if event.venue %}
{{ event.venue }} – {% endif %}
{% if event.address %}{{ event.address }}
{% else %}
<i>To be announced</i>
{% endif %}
</dd>
<dt>Signup</dt>
<dd>
{% if event.url %}
<a href="{{ event.url }}">{{ event.title}} on Meetup.com</a>
{% else %}
<i>To be announced</i>
{% endif %}
</dd>
{% if event.content -%}
<dt>Description</dt>
<dd>
<blockquote>{{ event.content | safe }}</blockquote>
</dd>
{% endif %}
</dl>
{% endmacro event_attributes %}
{% macro last_update() %}
<footer>
<small>Last updated: {{ now()| date(format="%e %B at %H:%M", timezone="Europe/Berlin") }}</small>
</footer>
{% endmacro last_update %}
|