Sfoglia il codice sorgente

Remove links from gallery images

Edd Baldry 8 anni fa
parent
commit
ca5139240a
1 ha cambiato i file con 4 aggiunte e 6 eliminazioni
  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 %}