X-Git-Url: https://projects.mako.cc/source/yourule/blobdiff_plain/3c8ee8b6f81d892bffbc1a5f1e7af9a9adc9fd1d..ba471ef56c488ae95dac054033c81a3541cda71c:/templates/index.tmpl diff --git a/templates/index.tmpl b/templates/index.tmpl index 7d2832c..5f3f352 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -1,6 +1,6 @@ -#extends site +<% extends 'site.tmpl' %> -#block body +<% block body %>

Ruler Gallery

@@ -10,19 +10,18 @@ href="/gallery">ruler gallery.

Create Custom Ruler

-#if $getVar('errormsg', False) +<% if errormsg %>
Error
-$getVar('errormsg', False) +<%= errormsg %>
+<% endif %> -#end if
-#include 'templates/_form_elements.tmpl' +<% include '_form_elements.tmpl' %> - -#end block body +<% endblock %>