{# Sets the theme before any stylesheet paints (CS8): the saved browser choice (light or dark)
wins, otherwise the device's colour scheme. Inline so it runs first. #}
{% block title %}Spark{% endblock %}
{{ brand.favicon_links() }}
{% block head %}{% endblock %}
{% set desktop_controls = not request.app.state.identity_attached|default(false) %}
Skip to content
{% block content %}{% endblock %}
{% if desktop_controls %}
Quit Spark
This will shut down the Spark web server and close the application.