diff options
Diffstat (limited to 'python/vespa/docs/_includes/search_google_custom.html')
-rw-r--r-- | python/vespa/docs/_includes/search_google_custom.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/python/vespa/docs/_includes/search_google_custom.html b/python/vespa/docs/_includes/search_google_custom.html new file mode 100644 index 00000000000..27ca1c44c2a --- /dev/null +++ b/python/vespa/docs/_includes/search_google_custom.html @@ -0,0 +1,16 @@ +<script> + (function() { + var cx = '{{site.google_search}}'; + var gcse = document.createElement('script'); + gcse.type = 'text/javascript'; + gcse.async = true; + gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; + var s = document.getElementsByTagName('script')[0]; + s.parentNode.insertBefore(gcse, s); + })(); +</script> + +<div id="gcs-search-container"> + <gcse:search></gcse:search> +</div> + |