$$ top
{% block hey %}hello{% endblock hey %}
$$ mid
{% extends "top" %}{% block hey %}hi and grandma says {{ super() }} {% block ending %}sincerely{% endblock ending %}{% endblock hey %}
$$ bottom
{% extends "mid" %}{% block hey %}dad says {{ super() }}{% endblock hey %}{% block ending %}{{ super() }} with love{% endblock ending %}