summaryrefslogtreecommitdiffstats
path: root/docs/_search_template/searchbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_search_template/searchbox.html')
-rw-r--r--docs/_search_template/searchbox.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/_search_template/searchbox.html b/docs/_search_template/searchbox.html
new file mode 100644
index 0000000000..c854452119
--- /dev/null
+++ b/docs/_search_template/searchbox.html
@@ -0,0 +1,16 @@
+<! -- This code is governed by the BSD license -->
+
+<div>
+ <h3>{{ _('Quick search') }}</h3>
+ <script>
+ (function () {
+ var cx = "dd12886298f75dbef";
+ var gcse = document.createElement("script");
+ 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>
+ <gcse:search></gcse:search>
+</div>