Link gallery images to the pages they're first used in

pull/63/head
Scot Hacker 2017-02-22 22:46:39 -08:00
rodzic 953e64b4d9
commit 7837f32e09
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3,7 +3,7 @@
{% for img in images %}
{% image img fill-285x200-c100 as img_obj %}
<div class="col-sm-6">
<a href="">
<a href="{{img_obj.image.get_usage.first.specific.url}}">
<figure class="gallery-figure">
<img src="{{img_obj.url}}" class="img-responsive" />
<figcaption>{{ img.title }}</figcaption>