saltstack/salt

View on GitHub
doc/_templates/googlesearch.html

Summary

Maintainability
Test Coverage
{%- if pagename != "search" and builder != "singlehtml" %}
<script>
  (function() {
    var cx = '001322401757093273933:ufrvy56oa_a';
    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:searchbox-only></gcse:searchbox-only>
{%- endif %}

<br>