mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
merged branch igorsantos07/patch-1 (PR #1116)
This PR was merged into the master branch.
Discussion
----------
Update include.rst
Fixing typo: "Twig will ignore the statement if the template to be *ignored* does not exist."
[Sorry, typed the commit desc in the wrong box :( ]
Commits
-------
fb3fdac Update include.rst
This commit is contained in:
@@ -63,7 +63,7 @@ directly::
|
||||
The ``ignore missing`` feature has been added in Twig 1.2.
|
||||
|
||||
You can mark an include with ``ignore missing`` in which case Twig will ignore
|
||||
the statement if the template to be ignored does not exist. It has to be
|
||||
the statement if the template to be included does not exist. It has to be
|
||||
placed just after the template name. Here some valid examples:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
Reference in New Issue
Block a user