From f831499341ecb8d9a7468afd69d350a3da1a4688 Mon Sep 17 00:00:00 2001 From: xing Date: Fri, 3 Feb 2023 14:27:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/actions/detail.go | 1 - internal/actions/index.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/actions/detail.go b/internal/actions/detail.go index d63ad4f..d06b68f 100644 --- a/internal/actions/detail.go +++ b/internal/actions/detail.go @@ -25,7 +25,6 @@ func Detail(c *gin.Context) { recentComments := cache.RecentComments(c, 5) var ginH = gin.H{ "title": wpconfig.Options.Value("blogname"), - "options": wpconfig.Options, "recentPosts": recent, "archives": archive, "categories": categoryItems, diff --git a/internal/actions/index.go b/internal/actions/index.go index a05ea4d..ec19906 100644 --- a/internal/actions/index.go +++ b/internal/actions/index.go @@ -241,7 +241,6 @@ func Index(c *gin.Context) { recentComments := cache.RecentComments(c, 5) ginH := gin.H{ "err": err, - "options": wpconfig.Options, "recentPosts": recent, "archives": archive, "categories": categoryItems,