Merge with 67402eef14a8bcf2ba2f8caf5b5a66dead1d6b84
authorymh <ymh.work@gmail.com>
Thu, 07 Jun 2012 18:25:58 +0200
changeset 28 8ec3ed14a955
parent 27 d97a7854e9eb (current diff)
parent 26 67402eef14a8 (diff)
child 29 d733ad1f2654
Merge with 67402eef14a8bcf2ba2f8caf5b5a66dead1d6b84
--- a/web/tralalere/templates/home.html	Thu Jun 07 18:24:06 2012 +0200
+++ b/web/tralalere/templates/home.html	Thu Jun 07 18:25:58 2012 +0200
@@ -7,10 +7,9 @@
             </div>
             
             {% for content in contents %}
-            {% thumbnail content.image "135x120" format="PNG" crop="center" as im %}
             <div class="home-media">
                 <a href="#">
-                    <img class="home-media-image" src="{{im.url}}" width="{{ im.width }}" height="{{ im.height }}" />
+                    {% thumbnail content.image "135x120" format="PNG" crop="center" as im %}<img class="home-media-image" src="{{im.url}}" width="{{ im.width }}" height="{{ im.height }}" />{% endthumbnail %}
                 </a>
                 <h3>
                     <a href="{% url player content.iri_id %}">{{content.title}}</a>
@@ -72,6 +71,5 @@
                     </li>
                 </ul>
             </div>
-            {% endthumbnail %}
             {% endfor %}
 {% endblock %}