Add support for "{% endblock title %}" syntax