whole bunch of changes to make things work cleanly on the server
[yourule] / templates / site.tmpl
index d9eaad372ce7a212300ac1e09c8b30ff23e893d1..3c497efa25c200ba8c809ced9692ade9c6ecbef0 100644 (file)
@@ -1,14 +1,15 @@
 <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">

Benjamin Mako Hill || Want to submit a patch?