From: Georg Brandl Date: Fri, 18 May 2007 12:44:32 +0000 (+0200) Subject: [svn] Fix a few typos. X-Git-Tag: 2.0rc1~326 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=25d3322c4bdb8389b91a2c340b455ca2dfa8dcf3;p=jinja2.git [svn] Fix a few typos. --HG-- branch : trunk --- diff --git a/docs/src/inheritance.txt b/docs/src/inheritance.txt index 6e7714e..d507662 100644 --- a/docs/src/inheritance.txt +++ b/docs/src/inheritance.txt @@ -96,11 +96,11 @@ value from the parent template is used instead. How Inheritance Works Internally ================================ -Inheritance in Jinja is straighforward. If a template contains a +Inheritance in Jinja is straightforward. If a template contains an ``{% extends %}`` tag it's considered being a child template, otherwise it's a layout template. In a layout template you can place blocks basically -everywhere. In a child template blocks can only be located either top level -or inside of another block. +everywhere. In a child template blocks can only be located either at the +top level or inside another block. Data outside of a block in a child template is executed before the layout template is rendered, thus you can use it to propagate data to the whole @@ -119,7 +119,7 @@ an syntax error. Here some examples: {% endif %} This can't work because template inheritance works at translation / - compilation time not at template executation. + compilation time not at template execution. **possible**: