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