--- // Restructures Starlight's default layout (full-width fixed header sitting // ABOVE a below-header sidebar) into mdBook's actual structure: the sidebar // is its own full-height column starting at the true top of the viewport, // and the navbar lives entirely inside the content column next to it, not // spanning over the top of the sidebar. Sidebar visibility is driven // entirely by `data-sidebar` on (see ThemeProvider.astro), not // Starlight's own aria-expanded mobile toggle. const { hasSidebar } = Astro.locals.starlightRoute; ---
{ hasSidebar && ( ) }