added custom code for swiftype custom search

Google custom search replacement
This commit is contained in:
Sandra Wills 2016-01-11 08:54:49 -05:00
parent c3dd0213ef
commit 7124a525a2

View file

@ -4,7 +4,21 @@
<input type="hidden" name="area" value="default" /> <input type="hidden" name="area" value="default" />
</form> --> </form> -->
<script> <script type="text/javascript">
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
_st('install','AG-cRmit6D-ZGiWz61k_','2.0.0');
</script>
<!-- the above was added by swills/docschick as the new custom search engine, Swiftype, while the original CGS content below is commented out,
this can only be tested once built (I can't see it locally) and I didn't want to remove the old content until this was built/tested 7-Jan-16) -->
<!-- <script>
(function() { (function() {
var cx = '006019874985968165468:eu5pbnxp4po'; var cx = '006019874985968165468:eu5pbnxp4po';
var gcse = document.createElement('script'); var gcse = document.createElement('script');
@ -59,3 +73,4 @@
e.preventDefault(); e.preventDefault();
}); });
</script> </script>
-->