Files
谢宇宁andClaude Opus 5.5 0fbdba5ccf Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:47:47 +07:00

15 lines
257 B
Go

package web
import (
"net/http"
"github.com/gin-gonic/gin"
)
// NotFound 404 页面:渲染 template/pages/404.html。
func NotFound(c *gin.Context) {
HTML(c, http.StatusNotFound, "404.html", gin.H{
"title": "页面不存在 - 黄果短剧",
})
}