From 25d3322c4bdb8389b91a2c340b455ca2dfa8dcf3 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 18 May 2007 14:44:32 +0200 Subject: [PATCH] [svn] Fix a few typos. --HG-- branch : trunk --- docs/src/inheritance.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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**: -- 2.26.2