Commits

Greg Slepak committed 1431a7f

updated error pages

Comments (0)

Files changed (2)

example-site/views/404.html

   <div class="dialog">
     <h1>We're sorry, but something went wrong. (404)</h1>
     <p>We couldn't find the page or file you asked for.</p>
-	<p>Start over <a href="./">here</a> or <a href="javascript:history.back();">go back</a>.</p>
+	<p>Start over <a href="<%=(web-root)%>">here</a> or <a href="javascript:history.back();">go back</a>.</p>
   </div>
 </body>
 </html>

example-site/views/500.html

   <div class="dialog">
     <h1>We're sorry, but something went wrong.</h1>
     <p>We've been notified about this issue and we'll take a look at it shortly.</p>
-	<p>Start over <a href="./">here</a> or <a href="javascript:history.back();">go back</a>.</p>
+	<p>Start over <a href="<%=(web-root)%>">here</a> or <a href="javascript:history.back();">go back</a>.</p>
 	<div class="backtrace">
 		<%=(join (parse (last (last-error)) "\n") "<br/>")%>
 	</div>