You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typing in the search box should produce results instantly under the search box, with links to relevant website pages - see the [hugo-book demo](https://hugo-book-demo.netlify.app/ for an example
Actual behaviour
Nothing happens when you type in the search box.
It appears the search never finds anything. On the main branch of hugo-book, the search seems to work slightly differently from the v9 release, which our site is based on, in that it seems to generate a search index on first use of the search box. I tried updating the code locally, but it didn't seem to help.
May be related to a reported issue here, which is marked as closed, in which flexsearch ignores the base URL and can't handle search when the site is in a subdirectory. I tried the suggested fixes locally, but they didn't seem to work.
Screenshots
How to reproduce
Type anything in the search box.
Your personal setup
OS: MacOS 12.6.3
Hugo version: hugo v0.111.1+extended darwin/arm64
Logs
Tested on Chrome and Safari, on desktop and mobile browsers.
The text was updated successfully, but these errors were encountered:
Description
The search box doesn't work.
Expected behaviour
Typing in the search box should produce results instantly under the search box, with links to relevant website pages - see the [hugo-book demo](https://hugo-book-demo.netlify.app/ for an example
Actual behaviour
Nothing happens when you type in the search box.
It appears the search never finds anything. On the main branch of
hugo-book
, the search seems to work slightly differently from thev9
release, which our site is based on, in that it seems to generate a search index on first use of the search box. I tried updating the code locally, but it didn't seem to help.May be related to a reported issue here, which is marked as closed, in which
flexsearch
ignores the base URL and can't handle search when the site is in a subdirectory. I tried the suggested fixes locally, but they didn't seem to work.Screenshots
How to reproduce
Type anything in the search box.
Your personal setup
Logs
Tested on Chrome and Safari, on desktop and mobile browsers.
The text was updated successfully, but these errors were encountered: