Re:Show HN: Makesite – A static site generator in 125 lines ...
by aoeusnth1 on Saturday March 17, 2018 @05:50PM
(#16609253)
Hey, thanks for pointing this out. I didn’t even know to go looking for something like this, but it will be perfect for a site I have.
Re:Show HN: Makesite – A static site generator in 125 lines ...
by chiefalchemist on Saturday March 17, 2018 @08:38PM
(#16609898)
Yea. Thanks.
I've added search functionality to static sites before and the various JavaScript libraries available for this like lunrjs.com are super fast and easy to integrate. You can create a static search index at build time from a JSON file of your core content (probably a few 100KB compressed for many sites) and the search as you type functionality is instant which can be a better UX than other solutions.