From 16d7bc374a693476d8e74b0e97b41aa27853caf6 Mon Sep 17 00:00:00 2001 From: joak Date: Wed, 27 Jul 2022 15:32:45 +0200 Subject: changes selected works --- templates/selected-works.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 templates/selected-works.html (limited to 'templates/selected-works.html') diff --git a/templates/selected-works.html b/templates/selected-works.html new file mode 100644 index 0000000..eaf7b8d --- /dev/null +++ b/templates/selected-works.html @@ -0,0 +1,33 @@ +{% extends "layout.html" %} +{% block title %}{{ this.title }}{% endblock %} +{% block body %} + + {% set works = site.get('/works', this.alt) %} +
+ + + + + + + + + + {% for work in works.children %} + {% if work.selected %} + + {% set gif = work.attachments.images.get(work.thumbnail) %} + + + + + + {% endif %} + {% endfor %} +
🗒🔧🔨🔬🖥🔊🕛?
{{work.title}} + + {{ 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 %}{% if work.format %}{{work.format}}{% endif %}
+ {% if this.alt == "en" %}

Almost all other works can be found here!

{% endif %} + {% if this.alt == "de" %}

Fast alle anderen Arbeiten sind hier!

{% endif %} +
+{% endblock %} -- cgit v1.2.3