# HG changeset patch # User Alexandre Segura # Date 1487848081 -3600 # Node ID 276de79692ce38966512a1c1e43849eac7d4fd6d # Parent e435cad79dfe15a0ed93b9e821632124a4fd93b7 Change home layout. diff -r e435cad79dfe -r 276de79692ce src/iconolab/templates/iconolab/home.html --- a/src/iconolab/templates/iconolab/home.html Thu Feb 23 12:06:57 2017 +0100 +++ b/src/iconolab/templates/iconolab/home.html Thu Feb 23 12:08:01 2017 +0100 @@ -6,31 +6,26 @@ {% 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 %} @@ -74,7 +69,7 @@ {% block footer_js %} {% endblock %}