X-Git-Url: https://projects.mako.cc/source/yourule/blobdiff_plain/2b6309dc7c65b8849fcd9aa7aae834b014ab5a10..ee98f53330408fd5f0c0a27720a3dc0d9edced89:/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 %>