Skip to content

Commit e68df62

Browse files
committed
Correct the number of hitsPerPage and the duplication
1 parent 51eb925 commit e68df62

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ GEM
219219
jekyll-feed (~> 0.9)
220220
jekyll-seo-tag (~> 2.1)
221221
minitest (5.17.0)
222+
nokogiri (1.14.2-x86_64-darwin)
223+
racc (~> 1.4)
222224
nokogiri (1.14.2-x86_64-linux)
223225
racc (~> 1.4)
224226
octokit (4.25.1)
@@ -263,6 +265,7 @@ GEM
263265
zeitwerk (2.6.7)
264266

265267
PLATFORMS
268+
x86_64-darwin-22
266269
x86_64-linux
267270

268271
DEPENDENCIES

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
apiKey: 'fbc439670f5d4e3730cdcb715c359391',
107107
indexName: 'scala-lang',
108108
inputSelector: '#doc-search-bar',
109-
algoliaOptions: { 'facetFilters': ["language:en"], 'hitsPerPage': 7 },
109+
algoliaOptions: { 'facetFilters': ["language:en"], 'hitsPerPage': 6, 'distinct': 1},
110110
debug: false // Set debug to true if you want to inspect the dropdown
111111
});
112112
}

0 commit comments

Comments
 (0)