--- import { getMenu } from "emdash"; import { WidgetArea, EmDashHead, EmDashBodyStart, EmDashBodyEnd, } from "emdash/ui"; import { createPublicPageContext } from "emdash/page"; import LiveSearch from "emdash/ui/search"; interface Props { title: string; description?: string | null; image?: string | null; canonical?: string | null; /** Pass content reference for plugin page contributions on content pages */ content?: { collection: string; id: string; slug?: string | null }; } const { title, description, image, canonical, content } = Astro.props; const menu = await getMenu("primary"); const pageCtx = createPublicPageContext({ Astro, kind: content ? "content" : "custom", pageType: "website", title, description, canonical, image, content, }); ---