added google search to main page

This commit is contained in:
arcan1s
2014-01-13 00:24:32 +04:00
parent ed0d0da03a
commit a11cf53b98
2 changed files with 17 additions and 3 deletions

View File

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>arcanis' homepage</title>
<link rel="stylesheet" href="/stylesheets/styles.css">
<link rel="stylesheet" href="/stylesheets/pygment_trac.css">
<link rel="stylesheet" href="./stylesheets/styles.css">
<link rel="stylesheet" href="./stylesheets/pygment_trac.css">
<link rel="shortcut icon" href="/resources/icon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
@ -33,6 +33,21 @@
<h3><a name="contact" class="anchor" href="#contact"><span class="octicon octicon-link"></span></a>Contact me</h3>
<p align="justify">If you have a question or something else you may contact me via <a href="mailto:darkarcanis@mail.ru">e-mail</a>. If you want to suggest a pull request or to create a bug report for these pages (or may be for some other projects) feel free to visit <a href="https://github.com/arcan1s">my Github profile</a> and do it.</p>
<h3><a name="search" class="anchor" href="#search"><span class="octicon octicon-link"></span></a>Site search</h3>
<script>
(function() {
var cx = '000833618047197874644:rilf4jpvgyo';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
</section>
<footer>
<span class='st_vkontakte'></span>