mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #13798 from docschick/devel
added custom code for swiftype custom search
This commit is contained in:
commit
a9aa5c665e
1 changed files with 16 additions and 1 deletions
|
@ -4,7 +4,21 @@
|
|||
<input type="hidden" name="area" value="default" />
|
||||
</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() {
|
||||
var cx = '006019874985968165468:eu5pbnxp4po';
|
||||
var gcse = document.createElement('script');
|
||||
|
@ -59,3 +73,4 @@
|
|||
e.preventDefault();
|
||||
});
|
||||
</script>
|
||||
-->
|
Loading…
Reference in a new issue