From 8dfbe6ab5f3458ea50cbf795723612d3eedbe084 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 21 Feb 2022 10:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/search.go b/routers/search.go index 8628b9ba1..5ed46eb77 100644 --- a/routers/search.go +++ b/routers/search.go @@ -33,7 +33,7 @@ func InitESClient() { func Search(ctx *context.Context) { keyword := strings.Trim(ctx.Query("q"), " ") ctx.Data["keyword"] = keyword - ctx.HTML(200, "explore/search_new.tmpl") + ctx.HTML(200, "explore/search_new") } func SearchApi(ctx *context.Context) {