From 9f6c30d470d1080e8e58efb6ece62f77d55ff55b Mon Sep 17 00:00:00 2001 From: Philippe Barbosa Date: Thu, 7 Apr 2016 17:28:01 +0200 Subject: [PATCH] Index page updated --- app/templates/index.html | 41 +++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) 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 %} -- 2.39.5