summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoak <joak@nospace.at>2020-08-17 19:20:18 +0200
committerjoak <joak@nospace.at>2020-08-17 19:20:18 +0200
commit66d5bb150621e8d8b7b11e997b6a6a9afce8223e (patch)
treed0d806ae0443fd572fef7abca0bcdacb330fff8a /templates
parentf60e9ccd5b046101903a79bf6afa0cf87fdd956c (diff)
update
Diffstat (limited to 'templates')
-rw-r--r--templates/blocks/picture.html9
-rw-r--r--templates/page.html3
2 files changed, 9 insertions, 3 deletions
diff --git a/templates/blocks/picture.html b/templates/blocks/picture.html
index a75eb3e..8008f92 100644
--- a/templates/blocks/picture.html
+++ b/templates/blocks/picture.html
@@ -1,2 +1,7 @@
-{% set img = record.attachments.images.get(this.url) %}
-<img id="{{ this.url|replace('.','') }}" class="bigimage" src="{{img.thumbnail(800)|url}}" alt="{{ this.caption }}">
+<div class="galleryImage">
+ {% set img = record.attachments.images.get(this.url) %}
+ <img id="{{ this.url|replace('.','') }}" class="bigimage" src="{{img.thumbnail(800)|url}}" alt="{{ this.caption }}">
+ {% if this.caption %}
+ <div class="caption">{{this.caption}}</div>
+ {% endif %}
+</div>
diff --git a/templates/page.html b/templates/page.html
index 5d9297d..f5fa458 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -10,8 +10,9 @@
{% if work.selected %}
{{work.content.blocks._flowblock}}
<span class="previews">
+<!--
<h1 class="starth1">{{work.title}}</h1>
-
+-->
{% for item in work.content.blocks %}
{% if item._flowblock == 'gallery' %}
{% for i in item.gallery.blocks %}