Skip to content

Commit

Permalink
docs: filter algolia results by latest
Browse files Browse the repository at this point in the history
This PR ensures only results from latest are returned in the algolia
search results.

Signed-off-by: Spencer Smith <[email protected]>
  • Loading branch information
rsmitty committed Mar 24, 2022
1 parent 0497d5f commit e403470
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/layouts/partials/hooks/body-end.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
indexName: "talos",
container: '#algolia-search',
debug: true,
searchParameters: {
facetFilters: ['version:latest'],
},
});
</script>

Expand Down

0 comments on commit e403470

Please sign in to comment.