add a "google custom search" page (linked in the navbar)

This commit is contained in:
Sebastian Kuzminsky 2015-11-10 09:44:15 -07:00
parent 326dc81cda
commit d8bc701eaf

22
search/index.md Normal file
View file

@ -0,0 +1,22 @@
---
layout: page
navbar: yes
title: Search
---
<script>
(function() {
var cx = '002933054294358554665:fte8t1yf9n4';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
Search the LinuxCNC documentation, forum, and wiki here.
<gcse:search></gcse:search>