Better integration of search results in docs.bazel.build
RELNOTES: None.
@@ -5,15 +5,15 @@ title: Site Search
<script>
(function() {
- var cx = '012346921571893344015:bxnk4pqo21g';
+ var cx = '009927877080525621790:2pxlpaexqpc';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
- gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
- '//www.google.com/cse/cse.js?cx=' + cx;
+ gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
-<gcse:search></gcse:search>
+<gcse:searchresults-only></gcse:searchresults-only>
+
