From: Armin Ronacher Date: Thu, 22 Mar 2007 19:05:43 +0000 (+0100) Subject: [svn] because merging doesn't work i tweak the webpage a bit X-Git-Tag: 2.0rc1~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dd88e3bff8104a2b9936132ba45cae0b86a7b1e;p=thirdparty%2Fjinja.git [svn] because merging doesn't work i tweak the webpage a bit --HG-- branch : trunk --- diff --git a/www/error.tmpl b/www/error.tmpl new file mode 100644 index 00000000..e89743d2 --- /dev/null +++ b/www/error.tmpl @@ -0,0 +1,11 @@ +<% extends 'layout/base.tmpl' %> +<% set title = 'Page Not Found' %> +<% block content %> +

Page Not Found

+

+ Sorry, but the pge you requested was not found on this server. +

+

+ Click here to return to the index. + +<% endblock %> diff --git a/www/index.tmpl b/www/index.tmpl index 134b844f..f139179e 100644 --- a/www/index.tmpl +++ b/www/index.tmpl @@ -62,5 +62,7 @@ print from_string('Hello {{ data }}!').render(data='World')

  • Dynamic Syntax. You don't like the Django block syntax? You can override the syntax elements on environment initialisation. It's no problem to use ASP/PHP/Ruby syntax, html comments for blocks etc.
  • +
  • extremely lightweight. According to sloccount the number + of source lines is below 3000. The tarfile is less than 200KB in size.
  • <% endblock %>