voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

feature: Search #68

Closed jbmoelker closed 7 months ago

jbmoelker commented 8 months ago

Changes

Associated issue

Resolves #23

How to test

  1. Open preview link
  2. Navigate to search (in header) (/en/search/)
  3. Enter a search query (like 'heading') (or 'astro' if searching on /nl/search/)
  4. Review the search results
  5. Play around with the search parameter in the URL, try a very short one (1 or 2 characters)
  6. Play around with the JSON endpoint: /api/search?locale=en&query=heading.
  7. Play around with the HTML partial endpoint: /en/search/results.partial/?locale=en&query=heading.
  8. Read docs/search.md to find out more.

Checklist

cloudflare-pages[bot] commented 8 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: e4f62bc
Status: ✅  Deploy successful!
Preview URL: https://7e9c2422.head-start.pages.dev
Branch Preview URL: https://feat-search.head-start.pages.dev

View logs