{% extends "htmx/base.html" %} {% block main %} Switch theme {% if theme %} Theme is set to: {{ theme }} {% else %} No theme set {% endif %} {% for item in object_list %} {% csrf_token %} {{ item }} {% endfor %} {% endblock main %}
Theme is set to: {{ theme }}
No theme set