X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Fartist;h=e04ac031df3f51faffeab088fabd610470bd286e;hb=f6ee754566a160171d611ba8b5151d71fa3ab4dc;hp=655c4d832539359d2933404f8a7490bdd08b7307;hpb=c4c00ea331e495884f03b87ecede23c8f51fc735;p=demoscenemusic.git
diff --git a/src/main/resources/templates/artist b/src/main/resources/templates/artist
index 655c4d8..e04ac03 100644
--- a/src/main/resources/templates/artist
+++ b/src/main/resources/templates/artist
@@ -4,13 +4,13 @@
<%else>
<%include include/header title=artist.name>
-
<% artist.name|html>
+<%include include/artist>
-Tracks by <% artist.name|html>
+Tracks by <%artist.name|html>
-<%foreach tracks track|sort>
+<%foreach artist.tracks track|sort>
<%first><%/first>
-- <% track.name|html>
+- <%track.name|html><%foreach track.artists trackArtist|remove value=artist><%first> (together with <%/first><%notfirst>,<%last> and<%/last> <%/notfirst><%include include/artist artist=trackArtist><%last>)<%/last><%/foreach><%foreach track.derivatives derivative><%first> (<%/first><%notfirst>, <%/notfirst><%derivative.properties.audio/codec.shortName|html><%last>)<%/last><%/foreach>
<%last>
<%/last>
<%foreachelse>
This artist does not have any tracks.