googlesearch.html 545 B

1234567891011121314151617
  1. {%- if pagename != "search" and builder != "singlehtml" %}
  2. <script>
  3. (function() {
  4. var cx = '001322401757093273933:ufrvy56oa_a';
  5. var gcse = document.createElement('script');
  6. gcse.type = 'text/javascript';
  7. gcse.async = true;
  8. gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
  9. '//www.google.com/cse/cse.js?cx=' + cx;
  10. var s = document.getElementsByTagName('script')[0];
  11. s.parentNode.insertBefore(gcse, s);
  12. })();
  13. </script>
  14. <gcse:searchbox-only></gcse:searchbox-only>
  15. {%- endif %}
  16. <br>