diff --git a/website/spotify/templates/spotify/spotify-items.html b/website/spotify/templates/spotify/spotify-items.html deleted file mode 100644 index 6d51644..0000000 --- a/website/spotify/templates/spotify/spotify-items.html +++ /dev/null @@ -1,3 +0,0 @@ -{% for track in tracks %} - {% include "spotify/spotify-item.html" with track=track.track %} -{% endfor %} diff --git a/website/spotify/templates/spotify/spotify_playlist_page.html b/website/spotify/templates/spotify/spotify_playlist_page.html index ea44718..521effd 100644 --- a/website/spotify/templates/spotify/spotify_playlist_page.html +++ b/website/spotify/templates/spotify/spotify_playlist_page.html @@ -14,7 +14,9 @@ - {% include "spotify/spotify-items.html" with tracks=playlist.tracks %} + {% for track in playlist.tracks %} + {% include "spotify/spotify-item.html" with track=track.track %} + {% endfor %}