{# mirrorwall/base.html — the shell every application's pages extend. Slots, not pages (spec §3): this template renders whatever product name, navigation and footer the application supplies, and contains no application vocabulary of its own. An application extends it, overrides `content`, and supplies `product_name`, `product_version` and `nav_items`. The theme bootstrap is inline and tiny on purpose (UI standards §9): it must run before first paint or a dark-mode reader sees a white flash, and an external file is a second request that can lose that race. htmx (ADR-0128) is opt-in per page: it loads only when the application's context sets `mirrorwall.htmx` true, so a page that never asks for it renders exactly as it did under 0.2.2 — the same gold standard the rest of this template already holds to. `mirrorwall.htmx` is probed with `is defined` throughout, which is safe under `StrictUndefined` whether or not the application passes a `mirrorwall` context object at all. #} {%- set htmx_enabled = mirrorwall is defined and mirrorwall.htmx is defined and mirrorwall.htmx %}