{% load i18n ui_assets ui_classes ui_preferences ui_props %}
{% ui_preference "themes" theme_storage_key theme as initial_theme %}
{% ui_class "ui.chrome" "page" as body_class %}
{% get_current_language as LANGUAGE_CODE %}
{% if title or title_suffix %}
{% if title %}
{{ title }}
{% if title_suffix %}- {{ title_suffix }}{% endif %}
{% else %}
{{ title_suffix }}
{% endif %}
{% endif %}
{{ head }}
{% if font_href %}
{# A cached face is otherwise only read after the stylesheet is styled, so text first paints in the fallback; crossorigin matches the @font-face fetch so the preload is reused. #}
{% endif %}
{% if css_href %}
{% endif %}
{{ slot }}
{% if confirm_dialog %}