Skip to content

fix(search): restore search and show richer results - #105

Merged
stonecharioteer merged 2 commits into
mainfrom
fix/search
Aug 13, 2026
Merged

stonecharioteer merged 2 commits into
mainfrom
fix/search

Conversation

@stonecharioteer

Copy link
Copy Markdown
Owner

Summary

  • Drop the broken custom search page so PaperMod's Fuse.js search initializes again.
  • Keep private posts out of index.json.
  • Make result rows clickable and show date, excerpt, and tags.
  • Fix just serve on macOS (hostname -I is Linux-only).
  • Turn off the open-to-hire banner.

Test plan

  • Open /search, type a known post title, and confirm results appear.
  • Click a result and land on the post.
  • Confirm date, excerpt, and tags render on each hit.
  • Confirm private posts do not appear.
  • Run just serve on macOS and confirm it binds to the LAN URL.
  • Confirm the hire banner is gone from the homepage.

Custom search markup used different element IDs than PaperMod's Fuse
script, so the page never initialized. Drop that override, keep a
JSON index that excludes private posts, and stretch the result overlay
so clicks reach the post.

just serve also died on macOS because hostname -I is Linux-only and
the recipe runs with pipefail. Detect the LAN address via ipconfig
first.
Search results were title-only. Index those extra fields and render them
on each hit so a query can be judged without opening the post.

Also turn off the open-to-hire banner.
@stonecharioteer
stonecharioteer merged commit aba915b into main Aug 13, 2026
3 checks passed
@stonecharioteer
stonecharioteer deleted the fix/search branch August 13, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant