Skip to content
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

Option to exclude sidebar contents in lunr search #1071

Open
hyrodium opened this issue Jan 20, 2024 · 0 comments
Open

Option to exclude sidebar contents in lunr search #1071

hyrodium opened this issue Jan 20, 2024 · 0 comments

Comments

@hyrodium
Copy link
Contributor

hyrodium commented Jan 20, 2024

The search result https://franklinjl.org/search/index.html?q=Workflow shows all pages on the site, and I believe the result should show only https://franklinjl.org/workflow/ page (and other pages include the "workflow" term).

image

The current search result is because the contents in the sidebar are also indexed in lunr_index.js, and it would be nice to have some options to exclude the sidebar contents in lunr search lunr().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant