search and 404 page
This commit is contained in:
parent
175fe7a3e2
commit
125bbb0c3d
3 changed files with 28 additions and 2 deletions
8
_includes/google_search.html
Normal file
8
_includes/google_search.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script language="Javascript" type="text/javascript">
|
||||
function google_search()
|
||||
{
|
||||
var query = document.getElementById("google-search").value;
|
||||
window.open("http://google.com/search?q=" + query
|
||||
+ "%20site:" + "{{ site.url }}");
|
||||
}
|
||||
</script>
|
Reference in a new issue