-
Notifications
You must be signed in to change notification settings - Fork 0
/
Archivvorlage
32 lines (28 loc) · 1011 Bytes
/
Archivvorlage
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
<hr>
<strong><a href="{{ episode.url }}">{{ episode.title }}</a></strong>
<br/><strong>Datum:</strong> {{ episode.publicationDate.format('d.m.Y') }}
{% set duration = episode.duration %}
<br/><strong>Dauer:</strong>
{% if episode.duration.hours > 0 %}
{% if episode.duration.hours > 1 %}
{{ episode.duration.hours }} Stunden
{% else %}
{{ episode.duration.hours }} Stunde
{% endif %}
{% endif %}
{% if episode.duration.minutes > 0 %}
{% if episode.duration.minutes > 1 %}
{{ episode.duration.minutes }} Minuten
{% else %}
{{ episode.duration.minutes }} Minute
{% endif %}
{% endif %}
<p></p>{{ episode.subtitle }} </p>
<p><strong>Download:</strong>
{% for file in episode.files %}
{% set asset = file.asset %}
{% if asset.downloadable %}
<strong><a href="{{ file.publicUrl("download", "buttonlist") }}">{{ asset.title }}</a> (<span class="size">{{ file.size|formatBytes }})</span></strong>
{% endif %}
{% endfor %}
</p>