--- // The app shell: file-tree sidebar + main pane (breadcrumbs, optional toolbar // slot, content). Light/dark follow the OS via prefers-color-scheme; Shiki emits // both theme palettes as CSS variables that the stylesheet swaps. import Breadcrumbs from '../components/Breadcrumbs.astro'; import FileTree from '../components/FileTree.astro'; import { buildTree, siteTitle } from '../lib/manifest'; interface Props { path?: string; view?: 'rendered' | 'raw' | 'tree'; } const { path = '', view = 'rendered' } = Astro.props; // Sidebar links stay in the current file view; directory (tree) pages fall back to rendered. const treeView = view === 'raw' ? 'raw' : 'rendered'; const tree = buildTree(); --- {siteTitle} - owl