2 Exception for child templates defining contents outside blocks defined by parent
4 {% extends 'base.twig' %}
6 Content outside a block.
9 Content inside a block.
11 --TEMPLATE(base.twig)--
15 Twig_Error_Syntax: A template that extends another one cannot include contents outside Twig blocks. Did you forget to put the contents inside a {% block %} tag in "index.twig" at line 3?