Skip to content

Commit 763dd5f

Browse files
author
Ed Costello
committed
Re-re-re implementation of google sitesearch with latest CSE identifier
1 parent fd2e081 commit 763dd5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

themes/mongodb/layout.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,12 @@ <h3>{{ _('Navigation') }}</h3>
209209
{%- endblock %}
210210
{%- block extrahead %} {% endblock %}
211211
{%- block sitesearch %}
212+
<!-- Put the following javascript before the closing </head> tag. -->
212213
<script>
213214
(function() {
214-
var cx = '016208628896885329932:WMX6838984';
215+
var cx = '017213726194841070573:WMX6838984';
215216
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
216-
gcse.src = (document.location.protocol == 'https' ? 'https:' : 'http:') +
217+
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
217218
'//www.google.com/cse/cse.js?cx=' + cx;
218219
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
219220
})();

0 commit comments

Comments
 (0)