From: Philippe Barbosa Date: Thu, 7 Apr 2016 15:28:01 +0000 (+0200) Subject: Index page updated X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9f6c30d470d1080e8e58efb6ece62f77d55ff55b;p=mezzo.git Index page updated --- diff --git a/app/templates/index.html b/app/templates/index.html index 7ee98a7d..cbf7f7ca 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -9,29 +9,40 @@ {% block main %} + {% featured_edito as edito %} {{ edito.content|safe|slice:":512" }}...
{% trans "Read more" %}
-{% featured_posts as post %} -

{% trans "Article" %}

-{% include 'blog/includes/post_card.html' %} -{% trans "All" %} {% trans "articles" %} - -{% featured_artist as artist %} -

{% trans "Artist" %}

-{% include "festival/inc/artist_card.html" %} -{% trans "All" %} {% trans "artists" %} - -{% featured_video as video %} -

{% trans "Video" %}

-{% include 'festival/inc/video_card.html' %} -{% trans "All" %} {% trans "videos" %} +
+
+ +
+ {% featured_posts as post %} +

{% trans "Article" %}

+ {% include 'blog/includes/post_card.html' %} + {% trans "All" %} {% trans "articles" %} +
+ +
+ {% featured_artist as artist %} +

{% trans "Artist" %}

+ {% include "festival/inc/artist_card.html" %} + {% trans "All" %} {% trans "artists" %} +
+ +
+ {% featured_video as video %} +

{% trans "Video" %}

+ {% include 'festival/inc/video_card.html' %} + {% trans "All" %} {% trans "videos" %} +
+
{% featured_playlist as playlist %} -

{% trans "Playlist" %}

+ {% include 'festival/inc/audio_playlist.html' %} {% endblock %}