{% if "HX-Request" not in request.headers %} {% extends "base.html" %} {% endif %} {%- block content -%} {% include "htmx_components_flask/treeview.html" %} {%- endblock -%}