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
Question: Exclude HTML tags of CSS selectors from being added to the search index #326
Comments
Hello @nandac! This feature is available, but admittedly not well-documented. You can add the To define exclusions on a file-by-file basis, you can use the Let me know if this helps! Happy to provide examples, etc. if this isn't quite enough. -James |
Thanks, @jameslittle230 that is what I was looking for. I do have one question though, is it possible to specify multiple selectors to exclude? For example something like:
In addition, I am actually using stork-search with the pelican-search plugin, which unfortunately does not support this setting so that is something I would need to contribute to the plugin I guess. |
I have the same question. Is it possible to support to set multiple selectors to be excluded? I found |
@Tseing I was able to set it as a comma-separated string of selectors I believe. Have you tried that out? |
@nandac Cool, it works! I mistakenly thought |
Thanks for helping out here! I'm closing this issue and will improve the documentation here. |
Dear Folks,
Let me take this opportunity to thank the creator and developers working on this project. Stork search is a boon to any static website that needs search functionality.
I would like to exclude parts of my website from being added to the search index by specifying an HTML tag, HTML tag attribute, or CSS selector as a way of fine-tuning the search.
I could not find any examples in the documentation. So I was wondering if the feature has been implemented or if there are any workarounds.
Thanks in advance.
The text was updated successfully, but these errors were encountered: