-#extends site
+<html>
+<head>
+<link rel="stylesheet" type="text/css" href="<%= homepath %>/style.css" />
+</head>
+<p id="menu">
+<a href="<%= homepath %>/show/<%= other_unit_url %>">show in <%= other_unit %></a>
+/
+<% if fromgallery %>
+<a href="<%= homepath %>/gallery">back to gallery</a>
+<% else %>
+<a href="<%= homepath %>/gallery/<%= ruler_url %>">save for others</a>
+<% endif %>
+</p>
-#block body
+<div id="rulerimg">
+<img src="<%= homepath %>/<%= ruler_url %>" alt="<%= ruler_url %>" />
+</div>
-<h2>Your Ruler</h2>
-
-<img src="/$ruler_url" alt="$ruler_url" />
-
-#if $fromgallery
-<p><a href="/gallery">Back to gallery</a>.</p>
-#else
-<p><a href="/gallery/$ruler_url">Save your ruler to the gallery</a> for others to use in
-the future.</p>
-#end if
-
-#end block body