Fork and Sarch by Algolia

Hi! I created a clone (fork) of your Hugo Documentation and I have a problem when I change the “Algolia API Search” connection. I created a new “index.json”, manually, and I uploaded to Algolia however when I search on the search bar, the results it’s Ok but the URL link it’s broken. Do you have any idea for me??? Thanks!!!

Are you getting any errors in your console? What is your use case so we can understand more what you’re doing?

The script that GETs the index, generates the search results template and links to the sections can be found here: https://github.com/TykTechnologies/tyk-docs/blob/master/tyk-docs/static/js/docs-search.js

URLs to resources are generated using the “path” attribute in the index files, so maybe check those also.

Hope that helps! :slight_smile: