diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/assets/javascripts/docsearch.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/content/assets/javascripts/docsearch.js b/content/assets/javascripts/docsearch.js index 088cf968a..97d91d359 100644 --- a/content/assets/javascripts/docsearch.js +++ b/content/assets/javascripts/docsearch.js @@ -1,5 +1,5 @@ --- -version: 2 +version: 3 --- document.addEventListener('DOMContentLoaded', () => { @@ -10,5 +10,18 @@ document.addEventListener('DOMContentLoaded', () => { container: '#docsearch', appId: "3PNCFOU757", placeholder: 'Search the docs', + resultsFooterComponent({ state }) { + return { + type: "a", + ref: undefined, + constructor: undefined, + key: state.query, + props: { + href: `/search/?query=${state.query}`, + children: `See all results` + }, + __v: null + } + } }); }); |