Преглед изворни кода

Remove links from gallery images

Edd Baldry пре 8 година
родитељ
комит
ca5139240a
1 измењених фајлова са 4 додато и 6 уклоњено
  1. 4 6
      bakerydemo/templates/tags/gallery.html

+ 4 - 6
bakerydemo/templates/tags/gallery.html

@@ -3,12 +3,10 @@
 {% for img in images %}
 {% image img fill-285x200-c100 as img_obj %}
 <div class="col-sm-6">
-	<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>
-		</figure>
-	</a>
+    <figure class="gallery-figure">
+        <img src="{{img_obj.url}}" class="img-responsive" />
+        <figcaption>{{ img.title }}</figcaption>
+    </figure>
 </div>
 {{ image.title }}
 {% endfor %}