修复bug
This commit is contained in:
parent
8ecf8bf94e
commit
f831499341
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user