angular-docs-cn/public/_includes/_search-box.jade

12 lines
466 B
Plaintext

gcse:search(type="search" placeholder="SEARCH DOCS...")
script
(function() {
var cx = '008420607850170258613:8o7h40u0v68';
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);
})();