From: Florent Xicluna Date: Sun, 5 Feb 2012 14:03:12 +0000 (+0100) Subject: typo X-Git-Tag: 2.7~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21b624b7143d377fce47c232a58a0d2162cf3218;p=thirdparty%2Fjinja.git typo --- diff --git a/docs/switching.rst b/docs/switching.rst index 6d9abb10..a1d7fa7f 100644 --- a/docs/switching.rst +++ b/docs/switching.rst @@ -215,7 +215,7 @@ Jinja2 to look more like Mako: env = Environment('<%', '%>', '${', '}', '<%doc>', '', '%', '##') -Once the environment is configure like that Jinja2 should be able to interpret +Once the environment is configured like that Jinja2 should be able to interpret a small subset of Mako templates. Jinja2 does not support embedded Python code so you would have to move that out of the template. The syntax for defs (in Jinja2 defs are called macros) and template inheritance is different too. The