Add include to render a complete artist.
[demoscenemusic.git] / src / main / resources / templates / artists
index eac8373..a5e2147 100644 (file)
@@ -1,29 +1,13 @@
-<html>
-
-<head>
-       <title>Artists - Demoscene Music</title>
-</head>
-
-<body>
-
-<div id="main">
+<%include include/header title=="Artists">
 
 <h1>Browse Artists</h1>
 
-<%foreach artists artist>
+<%foreach artists artist|sort>
        <%first><ul><%/first>
-       <li><a href="artist?id=<% artist.id|html>"><% artist.name|html></a></li>
+       <li><%include include/artist></li>
        <%last></ul><%/last>
 <%foreachelse>
        <p>There are no artists.</p>
 <%/foreach>
 
-</div>
-
-<div id="footer">
-© 2012 David ‘Bombe’ Roden
-</div>
-
-</body>
-
-</html>
+<%include include/footer>
\ No newline at end of file