--- import { sanitizeContentBody } from '../../lib/sanitize'; interface Props { q: string; hasQuery: boolean; hits: Array<{ slug: string; title: string; snippetHtml?: string | null }>; nextHref: string | null; } const { q, hasQuery, hits, nextHref } = Astro.props; ---

Search

{ hasQuery ? ( hits.length > 0 ? (
    {hits.map((hit) => (
  1. {hit.title} {hit.snippetHtml ? ( ) : null}
  2. ))}
) : (

No matches for that query.

) ) : null } {nextHref ? (

Next page

) : null}