{% include "layouts/_head_init.html" %} {% include "layouts/_head_branding.html" %} {# Inter is the body font in pyvelm.css. Loaded from Google Fonts so the build pipeline doesn't have to ship font files. #} {# Compiled CSS — Tailwind v4 + Flowbite plugin + the theme tokens defined in pyvelm.css. Built via `npm run build`. #} {% include "layouts/_head_theme.html" %} {# Behavior. HTMX for in-page swaps; Alpine.js for the sidebar / theme / dropdown / dialog interactions; Flowbite ships a few data-attribute-driven components we'll lean on. All deferred so inline scripts below can attach handlers safely. #} {# Before Alpine so pvHtmlEditor / pvCodeEditor register on alpine:init. Build: npm run build:editor && npm run build:code-editor #} {% block head_extra %}{% endblock %} {% set use_sidebar = use_sidebar if use_sidebar is defined else true %}
{% if use_sidebar %} {# ───── Mobile backdrop ───── #} {# ───── Sidebar ───── #} {% endif %} {# ───── Main column ───── #}{{ menu_active_root.label }}
{% else %} {% endif %} {% elif use_sidebar %} {% else %} {% set topnav_page_title = self.page_title() %} {% include "layouts/_topnav_brand.html" %} {% endif %}{{ current_user_name }}
{{ current_user_login or '' }}
{{ subtitle }}
{% endif %} {% endblock %}Loading…