-
-
Notifications
You must be signed in to change notification settings - Fork 169
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: add exact-match option #770
Labels
feature
New feature or request
Comments
Mmh, Searching for "pic-vert" gives results for "vert" only, this wasn't expected, the dash here is not a word separator but a real part of the whole word to search for. Maybe a French specificity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I just activated the dedicated search page (https://mcshelby.github.io/hugo-theme-relearn/basics/customization/#activate-dedicated-search-page) today and found it fun.
I'd like to add an option to inject number of typos to 0 into \static\js\search.js so that I could add a link from one page to /search.html?search-by=some&exact-match and the results page would only contain exact matches on search term. This way this does not seem complicated.
When reusing the just opened search page the exact-match parameter, when present, should be interpreted by page. This would give the best user experience. I add a link to search page from my site menu too.
The text was updated successfully, but these errors were encountered: