From f60e9ccd5b046101903a79bf6afa0cf87fdd956c Mon Sep 17 00:00:00 2001 From: joak Date: Mon, 17 Aug 2020 11:55:24 +0200 Subject: init --- templates/info.html | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 templates/info.html (limited to 'templates/info.html') diff --git a/templates/info.html b/templates/info.html new file mode 100644 index 0000000..fc37ab5 --- /dev/null +++ b/templates/info.html @@ -0,0 +1,96 @@ +{% extends "layout.html" %} +{% block title %}{{ this.title }}{% endblock %} +{% block body %} +
+
+

{{ bag('translation', this.alt, 'info') }}

+ {{ this.body }} +
+
+

{{ bag('translation', this.alt, 'exhibitions') }}

+ + + + + + + + {% set exhibitions = site.query('/exhibitions').all() %} + {% for exhibition in exhibitions %} + + {% set gif = exhibition.attachments.images.get(exhibition.thumbnail) %} + + + + + + {% endfor %} +
{% if exhibition.thumbnail %}{% endif %}{{ exhibition.date_start|dateformat('Y-MM-dd') }} - {{ exhibition.date_end|dateformat('Y-MM-dd') }}{{ exhibition.title }}{{ exhibition.venue}}, {{exhibition.place}}, {{exhibition.country}}{{ exhibition.comment}}
+
+
+

{{ bag('translation', this.alt, 'performances') }}

+ + + + + + + + {% set performances = site.query('/performances').all() %} + {% for performance in performances %} + + {% set gif = performance.attachments.images.get(performance.thumbnail) %} + + + {% set location = performance.venue +", "+performance.place+", "+performance.country %} + + + + {% endfor %} +
{% if performance.thumbnail %}{% endif %}{{ performance.date_start|dateformat('Y-MM-dd') }}{{ performance.title|truncate(70, False, ' ...', 0) }}{{ location|truncate(50, False, ' ...', 0)}}{{ performance.comment|truncate(50, False, ' ...', 0)}}
+
+
+

{{ bag('translation', this.alt, 'lectures') }}

+ + + + + + + {% set lectures = site.query('/lectures').all() %} + {% for lecture in lectures %} + + {% set gif = lecture.attachments.images.get(lecture.thumbnail) %} + + + {% set location = lecture.venue +", "+lecture.place+", "+lecture.country %} + + + + + {% endfor %} +
{% if lecture.thumbnail %}{% endif %}{{ lecture.date|dateformat('Y-MM-dd') }}{{ lecture.title|truncate(70, False, ' ...', 0) }}{{ location|truncate(60, False, ' ...', 0)}}{{ lecture.comment|truncate(50, False, ' ...', 0)}}
+
+
+

{{ bag('translation', this.alt, 'curatings') }}

+ + + + + + + + {% set curatings = site.query('/curating').all() %} + {% for curating in curatings %} + + {% set gif = curating.attachments.images.get(curating.thumbnail) %} + + + + + + {% endfor %} +
{% if curating.thumbnail %}{% endif %}{{ curating.date_start|dateformat('Y-MM-dd') }} - {{ curating.date_end|dateformat('Y-MM-dd') }}{{ curating.title }}{{ curating.venue}}, {{curating.place}}, {{curating.country}}{{ curating.comment}}
+
+
+{% endblock %} -- cgit v1.2.3