-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search is not working #528
Comments
I was also seeing this issue, I think it directly relates to the issue raised in #525 I managed to fix this by createing a |
That fixed it, thanks! Gonna keep the issue open for now since the root issue is still valid |
|
Great the solution works for me also, using Hugo version 0.111.3, thanks very much. |
Hi! |
Could be related: gohugoio/hugo#6015 |
I pushed hotfix for now |
This fixes the search by applying the hotfix from upstream alex-shpak/hugo-book@26fee55 See issue alex-shpak/hugo-book#528 upstream for more details. Closes #16
So, this comment is to help someone googling in the future with this behavior. If you are running Hugo as an AWS Amplify site, it will pin an old version of Hugo (0.75.2.) Manually updating the version to 0.118.2 cured this for me after pulling a lot of my hair out trying to track it down. More an amplify bug than a Hugo bug, and certainly not a fault with the theme. |
Both locally and on deployment, when I try to search I'lll sometimes see the loading wheel pop up for an instant then go away, but no results ever actually show up. When looking at search-data.---.json in my public directory, it's only generating an empty array. My config.toml is below - I haven't really customised any of the other partials, so not too sure where the error's popping up from?
The text was updated successfully, but these errors were encountered: