Move template files to specific folder

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-04-26 01:52:05 +08:00
parent 327b4a222b
commit 75856025b4
5 changed files with 293 additions and 287 deletions
+1 -1
View File
@@ -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>其他功能仍在开发中,有报错属于正常现象。"),
})