I lazily added the following to my parent site template:
{% block body %}
{% block content %}
{% endblock %}
{% endblock %}
Is this 'allowed' in Twig ?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this communityI lazily added the following to my parent site template:
{% block body %}
{% block content %}
{% endblock %}
{% endblock %}
Is this 'allowed' in Twig ?
Yes, see the block tags docs. http://twig.sensiolabs.org/doc/tags/extends.html#block-nesting-and-scope