blob: bb22aa6268ac855681e2d2d507082b54ea54752c (
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
45
46
47
|
{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
<!-- {{this.title}} -->
{% set works = site.get('/works', this.alt) %}
<div class="pagefull">
<table style="width:100%">
<tr>
<th>🗒</th>
<th>🔧🔨🔬🖥🔊</th>
<th>🕛</th>
<th>?</th>
</tr>
{% for work in works.children %}
<tr class="works {% if work.selected %}flash{% endif %}" {% if work.selected %}{% set r = range(10, 60) | random/10 %}style="animation-duration: {{r}}s;"{% endif %}>
{% set gif = work.attachments.images.get(work.thumbnail) %}
<td><img src="{{ gif.thumbnail(200)|url }}" class="workthumb"><a href="{{work|url}}">{{work.title}}</a></td>
<td><a href="{{work|url}}">
{% for item in work.content.blocks %}
{% if item._flowblock == 'gallery' %}
{% for i in item.gallery.blocks %}
{% if i._flowblock == 'picture' %}
{% set img = work.attachments.images.get(i.url) %}
<!--
📷
-->
<img src="{{ img.thumbnail(10)|url }}" alt="{{ this.caption }}"/>
{% endif %}
{% if i._flowblock == 'galleryvideo' %}
🎥
{% endif %}
{% endfor %}
{% endif %}
{% if item._flowblock == 'video' %}
🎥
{% endif %}
{% endfor %}
</a></td>
<td><a href="{{work|url}}">{{ work.year_start|dateformat('Y-MM-dd') }} - {% if work.ongoing == True %}{{ bag('translation', this.alt, 'ongoing') }}{% else %} {{ work.year_end|dateformat('Y-MM-dd') }} {% endif %}</a></td>
<td><a href="{{work|url}}">{% if work.format %}{{work.format}}{% endif %}</a></td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}
|