Move template files to specific folder
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func AnnounceIndex(ctx *gin.Context) {
|
||||
ctx.HTML(http.StatusOK, "announce.tmpl", gin.H{
|
||||
ctx.HTML(http.StatusOK, "common/announce.html", gin.H{
|
||||
"title": "Love Live! 学园偶像祭 非官方服务器",
|
||||
"content": template.HTML("目前开发完毕的功能包括:登录、相册、Live、个人信息。<br>其他功能仍在开发中,有报错属于正常现象。"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user