Lines Matching refs:include
1 ``include``
5 The ``include`` function was added in Twig 1.12.
7 The ``include`` function returns the rendered content of a template:
11 {{ include('template.html') }}
12 {{ include(some_var) }}
25 {{ include('template.html', {foo: 'bar'}) }}
33 {{ include('template.html', {foo: 'bar'}, with_context = false) }}
38 {{ include('template.html', with_context = false) }}
43 // {{ include(template) }}
58 {{ include('sidebar.html', ignore_missing = true) }}
65 {{ include(['page_detailed.html', 'page.html']) }}
75 {{ include('page.html', sandboxed = true) }}