-
Hi, Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The search plugin currently doesn't allow for that. As said, we're working on ground up rewrite which will yield much better search summaries and provide more compact results, but it's still going to take some time. However, you have two options:
|
Beta Was this translation helpful? Give feedback.
The search plugin currently doesn't allow for that. As said, we're working on ground up rewrite which will yield much better search summaries and provide more compact results, but it's still going to take some time. However, you have two options:
Hide the search result content with CSS. That way, the content will still be searchable, so keywords in the content of a page will still match that page. Something like:
Remove the
text
attribute from all entries insearch_index.json
as a post-processing step in a custom hook. It's likely 4-5 lines of Python, but search will only match titles.