HamlPy icon indicating copy to clipboard operation
HamlPy copied to clipboard

use block name in closing block tag

Open dillongreen opened this issue 12 years ago • 0 comments

Rather than ending a block with just {% endblock %}

{% block content %}
...
{% endblock %}

I think it would help readability if it would carry the block name such as

{% block content %}
...
{% endblock content %}

See https://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance for more info.

dillongreen avatar Jul 19 '12 17:07 dillongreen