mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-24 22:54:09 +00:00
GCSE-searchbox test.
This commit is contained in:
parent
6cd2b20f41
commit
b62078cbbe
@ -26,7 +26,7 @@
|
||||
{% if page.toc %}
|
||||
<script src="{{ site.url }}/bower_components/jquery.toc/jquery.toc.js" type="text/javascript"></script>
|
||||
{% 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>
|
||||
</head>
|
||||
<body itemscope itemtype="http://schema.org/Blog">
|
||||
@ -44,19 +44,7 @@
|
||||
</section>
|
||||
</div>
|
||||
<div id="headerright">
|
||||
<script>
|
||||
(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>
|
||||
|
||||
<gcse:searchbox-only></gcse:searchbox-only>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user