--- 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 %}