mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
Update include.rst
Fixing typo: "Twig will ignore the statement if the template to be *ignored* does not exist."
This commit is contained in:
@@ -63,7 +63,7 @@ directly::
|
|||||||
The ``ignore missing`` feature has been added in Twig 1.2.
|
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
|
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:
|
placed just after the template name. Here some valid examples:
|
||||||
|
|
||||||
.. code-block:: jinja
|
.. code-block:: jinja
|
||||||
|
|||||||
Reference in New Issue
Block a user