Explorar el Código

Remove links from gallery images

Edd Baldry hace 8 años
padre
commit
ca5139240a
Se han modificado 1 ficheros con 4 adiciones y 6 borrados
  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 %}