调整default主题,解决问题

This commit is contained in:
2026-08-01 03:33:30 +08:00
parent 9854b4f195
commit 156b78d45e
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ func IndexView(c *gin.Context) {
// 调试日志
slog.Info("查询结果", "postCount", len(posts))
for i, p := range posts {
slog.Info("文章", "index", i, "id", p.ID, "title", p.Title, "status", p.Status, "publishedAt", p.PublishedAt)
slog.Info("文章", "index", i, "id", p.ID, "title", p.Title, "status", p.Status, "publishedAt", p.PublishedAt, "views", p.Views, "commentsCount", len(p.Comments))
}
// 获取页面