        container: '#searchbox-mobile',
        appId: '{{ docsearch_app_id }}',
        apiKey: '{{ docsearch_api_key }}',
        indexName: '{{ docsearch_index_name }}',
    });

    document.addEventListener('keydown', function (event) {
      if (event.key === '/') {
        event.preventDefault();
        event.stopImmediatePropagation();
      }
    });
  });
</script>
{% endif %}