Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed titles. Added WRAPPER.
  • Loading branch information
davorg committed Mar 7, 2014
1 parent db8f10f commit d48c92e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 34 deletions.
20 changes: 4 additions & 16 deletions grillcd.tt
@@ -1,9 +1,6 @@
<html>
<head>
<title>[% cd.code %] - [% cd.title %]</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<head>
<body>
[% WRAPPER page.tt
title = cd.code _ ': ' _ cd.title
-%]
<h1>[% cd.title | html %]</h1>

<p><a href="index.html">Return to list</p>
Expand All @@ -27,13 +24,4 @@
</tr>
[% END -%]
</table>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>

<script type="text/javascript">
_uacct = "UA-56332-2";
urchinTracker();
</script>
</body>
</html>

[% END -%]
22 changes: 4 additions & 18 deletions index.tt
@@ -1,9 +1,6 @@
<html>
<head>
<title>Cooking Vinyl Compilation CDs</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
[% WRAPPER page.tt
title = 'Cooking Vinyl Compilation CDs'
-%]
<h1>Cooking Vinyl Compilation CDs</h1>
<p>A list of compilations released by
<a href="http://www.cookingvinyl.com/">Cooking Vinyl</a> records.</p>
Expand All @@ -20,15 +17,4 @@
</tr>
[% END -%]
</table>
<address>
Site created by <a href="mailto:dave@dave.org.uk">Dave Cross</a>
</address>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>

<script type="text/javascript">
_uacct = "UA-56332-2";
urchinTracker();
</script>
</body>
</html>
[% END -%]
20 changes: 20 additions & 0 deletions page.tt
@@ -0,0 +1,20 @@
<html>
<head>
<title>[% title %]</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<head>
<body>
[% content %]
<address>
Site created by <a href="mailto:dave@dave.org.uk">Dave Cross</a>
</address>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>

<script type="text/javascript">
_uacct = "UA-56332-2";
urchinTracker();
</script>
</body>
</html>

0 comments on commit d48c92e

Please sign in to comment.