Add include files for header and footer.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 12:11:39 +0000 (14:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 12:11:39 +0000 (14:11 +0200)
src/main/resources/templates/artists
src/main/resources/templates/include/footer [new file with mode: 0644]
src/main/resources/templates/include/header [new file with mode: 0644]

index b6efabd..6746152 100644 (file)
@@ -1,12 +1,4 @@
-<html>
-
-<head>
-       <title>Artists - Demoscene Music</title>
-</head>
-
-<body>
-
-<div id="main">
+<%include include/header title=="Artists">
 
 <h1>Browse Artists</h1>
 
        <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
diff --git a/src/main/resources/templates/include/footer b/src/main/resources/templates/include/footer
new file mode 100644 (file)
index 0000000..d57b438
--- /dev/null
@@ -0,0 +1,8 @@
+
+<div id="footer">
+© 2012 David ‘Bombe’ Roden
+</div>
+
+</body>
+
+</html>
\ No newline at end of file
diff --git a/src/main/resources/templates/include/header b/src/main/resources/templates/include/header
new file mode 100644 (file)
index 0000000..82d7106
--- /dev/null
@@ -0,0 +1,7 @@
+<html>
+
+<head>
+       <title><% title|html> - Demoscene Music</title>
+</head>
+
+<body>