--- /** * The search page (RFC-0019 §3, RFC-0029 §2): an ordinary `
` (no JavaScript), * the results with their snippets (escaped text, matches in ``), and real links between * result pages. * Pages, topics and authors are found too; a topic or author shows its taxonomy ("Category"). * Rendered only by deployments that answer searches; the page is never cached and never indexed. */ import { type SearchView, searchPageHref, snippetHtml } from "@cloudhal/astro-renderer/search"; import type { ThemeStrings } from "../theme.ts"; interface Props { search: SearchView; locale: string; t: ThemeStrings; } const { search, locale, t } = Astro.props; const date = (iso: string) => new Date(iso).toLocaleDateString(locale, { year: "numeric", month: "long", day: "numeric" }); ---