whole bunch of changes to make things work cleanly on the server
[yourule] / templates / site.tmpl
index 53cfed33168712694ed0453501d3946488ea25dd..3c497efa25c200ba8c809ced9692ade9c6ecbef0 100644 (file)
@@ -1,22 +1,22 @@
 <html>
 <head>
-  <link rel="stylesheet" type="text/css" href="/static/style.css" />
-  <script src="/static/prototype.js" type="text/javascript"></script>
+  <link rel="stylesheet" type="text/css" href="<%= homepath %>/style.css" />
+  <script src="<%= homepath %>/static/prototype.js" type="text/javascript"></script>
+  <title>You Rule</title>
 </head>
 <body>
 <div id="wrapper">
 <div id="header">
-<h1>YouRule</h1>
-<h2>Onscreen Ruler Generator</h2>
+<a href="<%= homepath %>"
+<img src="<%= homepath %>/static/images/yourule_banner.png" alt="YouRule" />
+</a>
 </div>
 
 <div class="mainbox">
   <div class="mainbox_top"><div></div></div>
   <div class="mainbox_content">
-
-#filter Filter
-$body
-#end filter
+    <% block body %>
+    <% endblock %>
   </div>
   <div class="mainbox_bottom"><div></div></div>
 </div>

Benjamin Mako Hill || Want to submit a patch?