Exclude some pages from the search
Opened this issue · 3 comments
hirasso commented
The next step after updating pagefind to 1.0.2 could be to programmatically exclude some pages from the search results. The second result "Announcing swup 2" for example would be nice to be excluded from the search IMO:
How to do this
We could maybe introduce a new frontmatter property "exclude-from-search: true" and add the attribute data-pagefind-body
only if the property isn't set to true.
How important is this feature to you?
- Nice to have
daun commented
Sounds like a good solution to me!
hirasso commented
hirasso commented
Nice, custom ranking now also also is a thing