@realglenndixon @eleven_ty You can look at all of the code in the repo if that helps. The client-side js which gets the search index, and does the string matching is here, as is the little button click handler utility function. See the core.js and search.js files.
https://github.com/philhawksworth/hawksworx.com/tree/master/src/js