aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoryongbozhang <zhangyongbo0523@gmail.com>2019-05-31 16:37:27 -0400
committeryongbozhang <zhangyongbo0523@gmail.com>2019-06-02 16:27:55 -0400
commit273d8b184d2caad34e68d7d0f4ef9f1321c3d2c9 (patch)
treef12fdaf2fb9a74745fc8bf5cda9bfb40a4f6c700 /docs
parent67e2542dd496f81852e67681a2f9f744fab17bca (diff)
downloadjinja-273d8b184d2caad34e68d7d0f4ef9f1321c3d2c9.tar.gz
issue-423 remind not to put block in if statements in doc
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/templates.rst b/docs/templates.rst
index d10d5e67..405d6fc2 100644
--- a/docs/templates.rst
+++ b/docs/templates.rst
@@ -390,7 +390,9 @@ this template "extends" another template. When the template system evaluates
this template, it first locates the parent. The extends tag should be the
first tag in the template. Everything before it is printed out normally and
may cause confusion. For details about this behavior and how to take
-advantage of it, see :ref:`null-master-fallback`.
+advantage of it, see :ref:`null-master-fallback`. Also a block will always be
+filled in regardless of whether the surrounding condition is evaluated to be true
+or false.
The filename of the template depends on the template loader. For example, the
:class:`FileSystemLoader` allows you to access other templates by giving the