mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-22 19:29:02 +00:00
18 lines
646 B
HTML
18 lines
646 B
HTML
|
<h3>Site Search</h3>
|
||
|
<div class="google_search">
|
||
|
<script>
|
||
|
(function() {
|
||
|
var cx = '{{ GOOGLE_SEARCH }}';
|
||
|
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></gcse:search>
|
||
|
</div>
|
||
|
|