hugo/docs/layouts/partials/google-cse.html

14 lines
472 B
HTML
Raw Normal View History

<script>
(function() {
var cx = '004940163756227230940:9tdbvl9bwk4';
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;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search linktarget="_parent"></gcse:search>