add theme hotaru

This commit is contained in:
naiba
2020-12-09 19:05:40 +08:00
parent 8e30f48395
commit 53ef95a664
220 changed files with 2453 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ func (cp *commonPage) home(c *gin.Context) {
if ok {
data["Admin"] = u
}
c.HTML(http.StatusOK, "page/home", mygin.CommonEnvironment(c, data))
c.HTML(http.StatusOK, "theme-"+dao.Conf.Site.Theme+"/home", mygin.CommonEnvironment(c, data))
}
var upgrader = websocket.Upgrader{}