Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ertuil/erblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutong Chen <ertuil98@foxmail.com>2020-05-27 03:50:20 +0300
committerLutong Chen <ertuil98@foxmail.com>2020-05-27 03:50:20 +0300
commitec9760be334ab4ba6081520fb57622a1be539e22 (patch)
treed3854a15c6a7540fbe4ac7e8494d06cc631ea31e
parent6f452b4bf779ac0553b9db06837b6d706406fde1 (diff)
bug fixed in search
-rw-r--r--layouts/index.html2
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>