Site search implemented using just Hugo + JS (No Gulp, Grunt, etc.)

First of all, a big shoutout to Eddie Webb for documenting this flow really well, and being receptive to suggestions.

tl;dr: I (someone who doesn’t know JS at all) followed the instructions on his gist, and now this works!

Jump to the gist link above for details. The same info is now also added to:


I just did a quick test of Japanese and generally, CJK language on, and I’m pleased to say that it works without a hitch. This is a great find for any CJK site, since there tend to be problems implementing search with space-less languages like those.

Thank you @kaushalmodi and Eddie Webb!

1 Like