$$ parent
{% block main %}{% endblock main %}
$$ child
{% extends "parent" %}
{% if 1 == 0 %}hey{% endif %}