mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Fix include documentation - change filter tag to apply
This commit is contained in:
@@ -31,10 +31,10 @@ of that file:
|
|||||||
{# vs #}
|
{# vs #}
|
||||||
{% set content = include('template.html') %}
|
{% set content = include('template.html') %}
|
||||||
|
|
||||||
{# Filter a rendered template #}
|
{# Apply filter on a rendered template #}
|
||||||
{% filter upper %}
|
{% apply upper %}
|
||||||
{% include 'template.html' %}
|
{% include 'template.html' %}
|
||||||
{% endfilter %}
|
{% endapply %}
|
||||||
{# vs #}
|
{# vs #}
|
||||||
{{ include('template.html')|upper }}
|
{{ include('template.html')|upper }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user