 type="text/javascript">
        docsearch({
          appId: '{{ .Site.Params.search.app_id }}',
          apiKey: '{{ $subprojectInfo.search_api_key }}',
          indexName: '{{ $subprojectInfo.search_index_name }}',
          inputSelector: '.docsearch-input',
          algoliaOptions: {'facetFilters': [["version:{{.CurrentSection.Params.version}}"]], hitsPerPage: 9},
          debug: false // Set debug to true if you want to inspect the dropdown
        });
      </script>
    {{ end }}
  </body>
</htm