Unauthenticated front page
[invirt/packages/invirt-web.git] / code / templates / unauth.mako
similarity index 90%
rename from code/templates/unauth.tmpl
rename to code/templates/unauth.mako
index 0715f2c..562481f 100644 (file)
@@ -1,12 +1,10 @@
-#from skeleton import skeleton
-#extends skeleton
+<%page expression_filter="h"/>
+<%inherit file="skeleton.mako" />
 
-
-#def title
+<%def name="title()">
 Intro
-#end def
+</%def>
 
-#def body
 <h1>XVM &mdash; Virtual Servers for MIT </h1>
 
 <p><strong>xvm.mit.edu</strong> is a virtualization service for the
@@ -18,7 +16,7 @@ to any Athena account holder.</p>
 
 <p>MIT users:</p>
 <blockquote><big><a
-href="https://$hostname/"><strong><font color="green">&rarr;</font> Log in to XVM now</strong>
+href="https://${config.web.hostname}/"><strong><font color="green">&rarr;</font> Log in to XVM now</strong>
 </a></big></blockquote>
 <p>You'll need an <a href="http://ca.mit.edu/">MIT personal
 certificate</a>.</p>
@@ -56,5 +54,3 @@ contributors.</p>
 
 <p>Questions and feedback welcome at <a
 href="mailto:xvm@mit.edu">xvm@mit.edu</a>.</p>
-
-#end def