Add include to render a complete artist.
[demoscenemusic.git] / src / main / resources / templates / track
index 4b1519f..aecf4b5 100644 (file)
@@ -9,10 +9,10 @@
        by
        <%foreach track.artists artist>
                <%notfirst>&amp;<%/notfirst>
-               <a href="artist?id=<% artist.id|html>"><% artist.name|html></a>
+               <%include include/artist>
        <%/foreach>
        <%ifnull !track.remix>
-       (<% track.remix|html> by <%foreach track.remixArtists artist><%notfirst> &amp; <%/notfirst><a href="artist?id=<% artist.id|html>"><% artist.name|html></a><%/foreach>)
+       (<% track.remix|html><%foreach track.remixArtists artist><%first> by <%/first><%notfirst> &amp; <%/notfirst><%include include/artist><%/foreach>)
        <%/if>
 </h1>