修复bug

This commit is contained in:
xing 2023-02-03 14:27:32 +08:00
parent 8ecf8bf94e
commit f831499341
2 changed files with 0 additions and 2 deletions

View File

@ -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,

View File

@ -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,