mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-13 13:56:46 +00:00
GCSE-searchbox test.
This commit is contained in:
parent
6cd2b20f41
commit
b62078cbbe
@ -26,7 +26,7 @@
|
|||||||
{% if page.toc %}
|
{% if page.toc %}
|
||||||
<script src="{{ site.url }}/bower_components/jquery.toc/jquery.toc.js" type="text/javascript"></script>
|
<script src="{{ site.url }}/bower_components/jquery.toc/jquery.toc.js" type="text/javascript"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!--script src="{{ site.url }}/javascripts/gcse.js" type="text/javascript"></script-->
|
<script src="{{ site.url }}/javascripts/gcse.js" type="text/javascript"></script>
|
||||||
<script src="{{ site.url }}/javascripts/comments.js" type="text/javascript"></script>
|
<script src="{{ site.url }}/javascripts/comments.js" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
<body itemscope itemtype="http://schema.org/Blog">
|
<body itemscope itemtype="http://schema.org/Blog">
|
||||||
@ -44,19 +44,7 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div id="headerright">
|
<div id="headerright">
|
||||||
<script>
|
<gcse:searchbox-only></gcse:searchbox-only>
|
||||||
(function() {
|
|
||||||
var cx = '005859900804634181508:3bt_l7jyk2e';
|
|
||||||
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>
|
|
||||||
<gcse:search></gcse:search>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user