summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-18 08:47:28 +0200
committerVolpeon <git@volpeon.ink>2022-06-18 08:47:28 +0200
commit7050b8141eae25a0cdc394fd195e66dd9af29ad7 (patch)
tree5ff32ef829157143f6f47278d114900b23f7616c /templates
parentUse dvh unit to make exhibit component fill viewport (diff)
downloadvolpeon.ink-7050b8141eae25a0cdc394fd195e66dd9af29ad7.tar.gz
volpeon.ink-7050b8141eae25a0cdc394fd195e66dd9af29ad7.tar.bz2
volpeon.ink-7050b8141eae25a0cdc394fd195e66dd9af29ad7.zip
Improved exhibit
Diffstat (limited to 'templates')
-rw-r--r--templates/feed_entry.xml3
-rw-r--r--templates/layouts/exhibit.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml
index a71b579..f0a7f1e 100644
--- a/templates/feed_entry.xml
+++ b/templates/feed_entry.xml
@@ -28,7 +28,8 @@ $endif$
28 $if(it.layout.is_exhibit)$ 28 $if(it.layout.is_exhibit)$
29 $for(it.images)$ 29 $for(it.images)$
30 <figure> 30 <figure>
31 <img src="$it$" /> 31 <img src="$it.url.full$" alt="$it.description$" />
32 <figcaption>$it.description$</figcaption>
32 </figure> 33 </figure>
33 $endfor$ 34 $endfor$
34 $endif$ 35 $endif$
diff --git a/templates/layouts/exhibit.html b/templates/layouts/exhibit.html
index 22f4bcf..a7eeec1 100644
--- a/templates/layouts/exhibit.html
+++ b/templates/layouts/exhibit.html
@@ -55,7 +55,8 @@ $body$
55 55
56 $for(images)$ 56 $for(images)$
57 <figure class="c-figure js-lightbox__image u-d-none@js"> 57 <figure class="c-figure js-lightbox__image u-d-none@js">
58 <img src="$it$" /> 58 <img src="$it.url.rel$" alt="$it.description$" />
59 <figcaption>$it.description$</figcaption>
59 </figure> 60 </figure>
60 $endfor$ 61 $endfor$
61 </div> 62 </div>