]> git.0d.be Git - panikweb-studioneau.git/blobdiff - panikweb_studioneau/templates/news/item.html
misc: apply new pre-commit-config
[panikweb-studioneau.git] / panikweb_studioneau / templates / news / item.html
index 3f0877c103ca8a1c88a675c33655b6fbef5ecf86..78705b5d404a36d0b1d5afc84782c260c983f21c 100644 (file)
@@ -1,14 +1,14 @@
 {% load thumbnail static %}
 <div class="newsitem-resume">
   <a href="{% url 'newsitem-view' slug=newsitem.slug %}"><div class="image"
-    {% if newsitem.image %}
-    {% thumbnail newsitem.image "300x200" crop="50% 25%" as im %}
-    style="background-image: url({{im.url}})"
-    {% endthumbnail %}
-    {% endif %}>
-  </div></a>
+                                                              {% if newsitem.image %}
+                                                              {% thumbnail newsitem.image "300x200" crop="50% 25%" as im %}
+                                                              style="background-image: url({{im.url}})"
+                                                            {% endthumbnail %}
+                                                            {% endif %}>
+</div></a>
   {% include "includes/tags.html" with object=newsitem %}
   <h3><a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}
-         {% if newsitem.subtitle %}<br>{{ newsitem.subtitle }}{% endif %}</a></h3>
+    {% if newsitem.subtitle %}<br>{{ newsitem.subtitle }}{% endif %}</a></h3>
 </div>