]> git.0d.be Git - panikweb-esperanzah.git/blobdiff - panikweb_esperanzah/templates/combo/cells/topik/link-cell.html
misc: apply new pre-commit-config
[panikweb-esperanzah.git] / panikweb_esperanzah / templates / combo / cells / topik / link-cell.html
index b85526fd27314a087e3e8cebf23417cceb658bf9..581cc7f0f6cc9527e829707d39db3dbb771a0c00 100644 (file)
@@ -1,18 +1,18 @@
 {% load thumbnail %}
 <div class="topikcellcontent topik-{{cell.link_page.slug}}">
-<a class="block cf" href="{{url}}">
-<span class="logo">
-{% thumbnail cell.link_page.picture "480x320" crop="50% 25%" as im %}
-<div class="logo">
-<img alt="" class="normal" src="{{im.url}}"/>
-</div>
-{% endthumbnail %}
-</span>
-<div>
-  <h5>{{title}}</h5>
-  <div class="description">
-    {{cell.link_page.description|safe|striptags|truncatewords:75}}
-  </div>
-</div>
-</a>
+  <a class="block cf" href="{{url}}">
+    <span class="logo">
+      {% thumbnail cell.link_page.picture "480x320" crop="50% 25%" as im %}
+        <div class="logo">
+          <img alt="" class="normal" src="{{im.url}}"/>
+        </div>
+      {% endthumbnail %}
+    </span>
+    <div>
+      <h5>{{title}}</h5>
+      <div class="description">
+        {{cell.link_page.description|safe|striptags|truncatewords:75}}
+      </div>
+    </div>
+  </a>
 </div>