mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 12:37:15 +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' %}
|
||||
{% endfilter %}
|
||||
{# vs #}
|
||||
{% include('template.html')|upper %}
|
||||
{{ include('template.html')|upper }}
|
||||
|
||||
* The ``include`` function does not impose any specific order for
|
||||
arguments thanks to :ref:`named arguments <named-arguments>`.
|
||||
|
||||
Reference in New Issue
Block a user