Lines Matching refs:blocks
11 template blocks reusable without using inheritance.
32 {% use "blocks.html" %}
37 The ``use`` statement tells Twig to import the blocks defined in
38 ``blocks.html`` into the current template (it's like macros, but for blocks):
42 {# blocks.html #}
48 imported blocks are not outputted automatically):
70 already defines the ``sidebar`` block, then the one defined in ``blocks.html``
71 is ignored. To avoid name conflicts, you can rename imported blocks:
77 {% use "blocks.html" with sidebar as base_sidebar, title as base_title %}
94 {% use "blocks.html" %}
104 the ``blocks.html`` template.
115 {% use "blocks.html" with sidebar as parent_sidebar %}