Building Search for this Site – Search on a static site
alexleighton.com·2h·
Discuss: Hacker News

This post is part of a series on Building this Site ← Syntax Highlighting I like the idea of having search for my blog, to help readers find anything related to a specific topic, or something they’d read in the past. How do I make something as dynamic as search, but statically generated?

Requirements

  • The solution has to be small — part of my purpose in statically generating the site is to make it fast to download, fast to view. Whatever is chosen needs to maintain that vision.
  • The solution can’t introduce too many dependencies — I really like OCaml as a language, and I used building my personal site as an excuse to work in it. Introducing non-OCaml dependencies has to be done with care, as I don’t …

Similar Posts

Loading similar posts...