From 8fa27e8c3c2744d7e7637a8f8092bef83f05ec04 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 18 Aug 2022 14:17:29 +0100 Subject: [PATCH] Remove unnecessary extra template --- website/spotify/templates/spotify/spotify-items.html | 3 --- website/spotify/templates/spotify/spotify_playlist_page.html | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 website/spotify/templates/spotify/spotify-items.html 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 %}