From ca886e40752a8a30762708ea87d7228f737c0cd2 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 28 Dec 2021 19:28:08 +0000
Subject: [PATCH] fix render link for apostrophe

---
 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 9809de6..90f4040 100644
--- a/layouts/partials/search.html
+++ b/layouts/partials/search.html
@@ -145,7 +145,7 @@
     }
 
     const redir = (id, term) => {
-        window.location.href = "{{.Site.BaseURL}}" + `${id.toLowerCase()}#:~:text=${encodeURIComponent(term)}`
+        window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
     }
 
     const fetch = id => ({

--
Gitblit v1.10.0