Update include.rst

Fix in function include to set a filter
This commit is contained in:
Chrysweel
2019-07-10 14:14:10 +02:00
committed by GitHub
parent e74d477c54
commit 21fde2f781
+1 -1
View File
@@ -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>`.