diff options
author | Lutong Chen <ertuil98@foxmail.com> | 2020-05-27 03:50:20 +0300 |
---|---|---|
committer | Lutong Chen <ertuil98@foxmail.com> | 2020-05-27 03:50:20 +0300 |
commit | ec9760be334ab4ba6081520fb57622a1be539e22 (patch) | |
tree | d3854a15c6a7540fbe4ac7e8494d06cc631ea31e | |
parent | 6f452b4bf779ac0553b9db06837b6d706406fde1 (diff) |
bug fixed in search
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index bf4e87b..5c2d548 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -47,7 +47,7 @@ <script type="text/javascript"> $("#search").keyup(function(event){ if(event.keyCode ==13){ - document.location = "https://www.google.com/search?q=" + $("#search").val(); + "+site%3A{{$.Site.BaseURL | safeHTML}}" + document.location = "https://www.google.com/search?q=" + $("#search").val() + "+site%3A{{ $.Site.BaseURL }}" } }); </script> |