mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
Update include.rst
Fix in function include to set a filter
This commit is contained in:
@@ -36,7 +36,7 @@ of that file:
|
|||||||
{% include 'template.html' %}
|
{% include 'template.html' %}
|
||||||
{% endfilter %}
|
{% endfilter %}
|
||||||
{# vs #}
|
{# vs #}
|
||||||
{% include('template.html')|upper %}
|
{{ include('template.html')|upper }}
|
||||||
|
|
||||||
* The ``include`` function does not impose any specific order for
|
* The ``include`` function does not impose any specific order for
|
||||||
arguments thanks to :ref:`named arguments <named-arguments>`.
|
arguments thanks to :ref:`named arguments <named-arguments>`.
|
||||||
|
|||||||
Reference in New Issue
Block a user