From f56642f13cb5bffb8c05b239c6a7b90e1b6453e5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 25 Oct 2021 06:32:55 +0000
Subject: [PATCH] forgot string lol

---
 layouts/partials/search.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/search.html b/layouts/partials/search.html
index 78b7765..22b50a1 100644
--- a/layouts/partials/search.html
+++ b/layouts/partials/search.html
@@ -127,7 +127,7 @@
     }
 
     const redir = (id, term) => {
-        window.location.href = {{.Site.BaseURL}} + `${id}#:~:text=${encodeURIComponent(term)}`
+        window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
     }
 
     const source = document.getElementById('search-bar')

--
Gitblit v1.10.0