{# Minimal default page for a compiled situ component. Pass template="page.html" to mount_component / mount_static_component / mount_tree, and add situ.templates_dir() to your Litestar TemplateConfig. Copy + extend it for real chrome. #} {{ demo.name | default("situ") }} {# the #siting-signals bootstrap the shim reads, then the shim, then the generated island #} {# optional extra head content (a mount can inject e.g. a kit stylesheet + widgets runtime); placed after _rt.js but BEFORE the island so a widget runtime registers S. before boot. `head` is rendered RAW (| safe) — a mount must pass a TRUSTED CONSTANT (e.g. declui's _WIDGETS_HEAD), never user / model input. It is not part of the page context; it arrives only via render_page(**extra). #} {{ head | default("") | safe }} {{ body | safe }}