diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-14 23:13:03 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 17:02:30 +0100 |
| commit | d3a982556d655adcf4ba331d2def685d8249170f (patch) | |
| tree | 10cb8daafc5aeffdfd7fc962bf27b6e36409b93f /docs/topics | |
| parent | 3dc01aaaaf7cf070933a8f5ee9a5f9136503d676 (diff) | |
Deprecated TEMPLATE_STRING_IF_INVALID.
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", |
