I was shocked how easy it was to add a browser-based search engine to this website using LunrJS and Hugo’s new content types. With a few small changes and less than 30 minutes of work, I had a great search engine up and running. I moved it under the menu and made it into a separate search page.

If you’re interested to mimic my approach, you can see the commit that I used1 to add the search page. I copy-pasted most of this code from articles here and here.

I’d like to express my appreciation to Swiftype for their excellent search engine, which I have now removed. I’ve used it for years and always loved their service. I still use it, and will continue doing so, for cases that require more robust capabilities.

Pic Credit

  1. I broke my RSS feeds with the commit, and needed two more to fix them. [return]

Done! Now Read These:

Forestry, a Static Site CMS

Forestry integrates with GitHub and Hugo to create a WYSIWYG CMS for static websites.

Why Outlook is the best iOS GMail App

The best iPhone/iPad GMail app is not GMail, Inbox, or Mail, it's Outlook.

Minimal Social Meta Tags for a Blog

Keep your site light and fast for social sharing with these minimal meta properties.