diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/feed_entry.xml | 3 | ||||
-rw-r--r-- | templates/layouts/exhibit.html | 3 |
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> |