diff options
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/templates.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt index e245a7899e..dc145924c9 100644 --- a/docs/topics/templates.txt +++ b/docs/topics/templates.txt @@ -116,9 +116,9 @@ Use a dot (``.``) to access attributes of a variable. In the above example, ``{{ section.title }}`` will be replaced with the ``title`` attribute of the ``section`` object. -If you use a variable that doesn't exist, the template system will insert -the value of the :setting:`TEMPLATE_STRING_IF_INVALID` setting, which is set -to ``''`` (the empty string) by default. +If you use a variable that doesn't exist, the template system will insert the +value of the ``string_if_invalid`` option, which is set to ``''`` (the empty +string) by default. Note that "bar" in a template expression like ``{{ foo.bar }}`` will be interpreted as a literal string and not using the value of the variable "bar", |
