@@ -160,10 +162,13 @@ {% include "includes/twitter.html" %} {% include "includes/instafeed.html" %} - {% featured as featured %} - {% for playlist in featured.playlists.all %} - {% include 'festival/inc/audio_playlist.html' %} + {% for item in featured_list %} + {% if item|get_class == 'Playlist' %} + {% with item as playlist %} + {% include 'festival/inc/audio_playlist.html' %} + {% endwith %} + {% endif %} {% endfor %}
diff --git a/app/templates/index.html b/app/templates/index.html index 82771ce4..4b2fecb8 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -19,8 +19,6 @@ {% trans "Read the edito" %}
-{% featured as featured_list %} -

{% trans "Featured" %}