Seo Audit Hub Search Fix

loom-builderpromptmarkdown
Path: loom-builder/prompts/seo-audit-hub-search-fix.mdRelative: prompts/seo-audit-hub-search-fix.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 56Bytes: 2,854Imports: 0Exports: 0

Content Preview

  1. # SEO Audit Hub — D5a: search UI fix (Pagefind input never renders)
  2. ## RESTATED INTENT + SUCCESS METRIC
  3. Mike opened the live site and there is NO text field to search. Root cause already
  4. diagnosed: `site/src/pages/search.astro` has an inline script calling `new PagefindUI(...)`
  5. but the built HTML contains NO `<script src="/pagefind/pagefind-ui.js">` and NO
  6. `<link>` for `/pagefind/pagefind-ui.css` — `PagefindUI` is undefined at runtime, so no
  7. input ever renders. The assets themselves exist and s