--TEST-- Block names are unique per template --TEMPLATE-- {% extends 'layout' %} {% block content -%} {% filter title -%} second {% endfilter %} {% endblock %} --TEMPLATE(layout)-- {% filter title -%} first {% endfilter %} {% block content %}{% endblock %} --DATA-- return [] --EXPECT-- First Second