Skip to content

Commit 80b181a

Browse files
committed
Add relevance sort middleware
1 parent b5a8584 commit 80b181a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

_layouts/search.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ layout: page
2020
strategy: {
2121
type: 'hybrid',
2222
},
23+
sortMiddleware: window.RelevanceSort,
2324
exclude: [],
2425
templateMiddleware: window.createHighlightTemplateMiddleware({
2526
className: 'search-highlight',

0 commit comments

Comments
 (0)