Problems using Algolia with Hugo: javascript and go

There are more than a few discussions about implementing Algolia in Hugo. You might consider reading through those and looking at their repos to see how they implemented it.

Depending on where your “hitTemplate” lives, you either need to have Hugo generate the JavaScript as a custom output, or generate the script in an HTML doc and make sure to pass everything through safe filters. In either case, please refer to the docs and the post about requesting help. :slight_smile: