{% extends "new/test.html" %}
{% comment %}Gets around infinite recursion bug by namespacing with a directory{% endcomment %}
{% block main %}
Top-level main block
{% comment %}remove this block.super and it all disappears. But I only want the block.super from inside "submain"{% endcomment %}
{{ block.super }}
{% block submain %}
my new sub-content
{{ block.super }}
{% comment %}I expect this block.super to contain the content of "submain" from new/test.html, because I'm extending it. It is empty, UNLESS "main" has a block.super call, in which case it's echoed TWICE{% endcomment %}
{% endblock %}
{% endblock %}