This commit is contained in:
2023-03-10 14:36:01 +08:00
parent d6d708bf5d
commit f8c1d183e4
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -49,10 +49,12 @@ func Index(c *gin.Context) {
prevPage = p + 1
}
title := os.Getenv("HOME_TITLE")
c.HTML(200, "index.html", gin.H{
"list": list,
"total": total,
"title": "Home",
"title": title,
"page": p,
"nextPage": nextPage,
"prevPage": prevPage,