# HG changeset patch # User duong tam kien # Date 1487864938 -3600 # Node ID e1762995780bf42564c9928cd8522e6effe36ed8 # Parent 51ce97e6101880a6c4cec4846c5d8db1123ba537 rolling back to correct home revision diff -r 51ce97e61018 -r e1762995780b src/iconolab/templates/iconolab/home.html --- a/src/iconolab/templates/iconolab/home.html Thu Feb 23 16:33:38 2017 +0100 +++ b/src/iconolab/templates/iconolab/home.html Thu Feb 23 16:48:58 2017 +0100 @@ -6,45 +6,37 @@ {% load iconolab_tags %} {% block content %} -
-
+
+
- -
{% for collection in collections_primary %} - {% if not forloop.counter|divisibleby:2 %} -
-
- {% endif %} -
- {% thumbnail collection.image "450x250" crop="center" as im %} - -
- - - -
- {% endthumbnail %} -
- {% if forloop.counter|divisibleby:2 %} -
-
- {% elif forloop.last %} +
+
+ {% thumbnail collection.image "450x250" crop="center" as im %} + - {% endif %} +

{{collection.verbose_name}}

+ + Contribuer + +
+

{{collection.description|safe}}

+ {% endthumbnail %} +
+
{% endfor %}
{% for collection in collections_secondary %} @@ -88,7 +80,7 @@ {% block footer_js %} {% endblock %}