Show artists in page title.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 20:31:58 +0000 (22:31 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 20:31:58 +0000 (22:31 +0200)
src/main/resources/templates/track

index fea7dee..f77f15c 100644 (file)
@@ -4,19 +4,17 @@
 <%else>
 <%include include/header title=track.name>
 
-<h1><% track.name|html></h1>
+<h1>
+       <% track.name|html>
+       by
+       <%foreach track.artists artist>
+               <%notfirst>&amp;<%/notfirst>
+               <a href="artist?id=<% artist.id|html>"><% artist.name|html></a>
+       <%/foreach>
+</h1>
 
 <dl>
 
-<dt>By</dt>
-<dd>
-<ul>
-<%foreach track.artists artist>
-<li><a href="artist?id=<% artist.id|html>"><% artist.name|html></a></li>
-<%/foreach>
-</ul>
-</dd>
-
 <dt>Styles</dt>
 <dd>
 <ul>