From 009dcbb7cbe2176bce9cd0d190f8bb4daacb3dde Mon Sep 17 00:00:00 2001 From: Sean Du Date: Fri, 5 Jun 2026 22:18:27 +0800 Subject: [PATCH] Refine announce page content - Update the announce page feature summary - Extract the HTML content into a file-level constant Signed-off-by: Sean Du --- internal/handler/announce/index.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/handler/announce/index.go b/internal/handler/announce/index.go index 3d23971..45eb76e 100644 --- a/internal/handler/announce/index.go +++ b/internal/handler/announce/index.go @@ -8,12 +8,14 @@ import ( "github.com/gin-gonic/gin" ) +const announceContent = `目前开发完毕的主要功能包括:

+ 其他功能仍在开发中,有报错属于正常现象。

+ 侵权联系:梦路_YumeMichi @bilibili 进行删除。` + func index(ctx *gin.Context) { ctx.HTML(http.StatusOK, "common/announce.html", gin.H{ "title": "Love Live! 学园偶像祭", - "content": template.HTML(`目前开发完毕的功能包括: