kopia lustrzana https://github.com/wagtail/bakerydemo
Link gallery images to the pages they're first used in
rodzic
953e64b4d9
commit
7837f32e09
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue