Exclude specific page from search results #6194
-
Hi there, is it possible to exclude one or two specific pages from search results when all other pages should be found? I could not find any information about this topic in the docs. Thanks and best regards |
Beta Was this translation helpful? Give feedback.
Answered by
jasonvarga
Jun 13, 2022
Replies: 1 comment 1 reply
-
Sure, use a condition.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sewid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure, use a condition.
{{ search:results id:not_in="id_one|id_two" }}
https://statamic.dev/conditions