projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add include to render a complete artist.
[demoscenemusic.git]
/
src
/
main
/
resources
/
templates
/
artists
diff --git
a/src/main/resources/templates/artists
b/src/main/resources/templates/artists
index
eac8373
..
a5e2147
100644
(file)
--- a/
src/main/resources/templates/artists
+++ b/
src/main/resources/templates/artists
@@
-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>
<h1>Browse Artists</h1>
-<%foreach artists artist>
+<%foreach artists artist
|sort
>
<%first><ul><%/first>
<%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>
<%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