From 273d8b184d2caad34e68d7d0f4ef9f1321c3d2c9 Mon Sep 17 00:00:00 2001 From: yongbozhang Date: Fri, 31 May 2019 16:37:27 -0400 Subject: [PATCH] issue-423 remind not to put block in if statements in doc --- docs/templates.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.2