A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(template/render): fix template footer / time
kumfo5bf63452f72d
diff --git a/internal/controller/template_controller.go b/internal/controller/template_controller.goindex b4a43d98..5bd19710 100644--- a/internal/controller/template_controller.go+++ b/internal/controller/template_controller.go@@ -3,7 +3,6 @@ package controllerimport ("encoding/json""fmt"- "github.com/segmentfault/pacman/i18n""html/template""net/http""regexp"@@ -319,7 +318,7 @@ func (tc *TemplateController) html(ctx *gin.Context, code int, tpl string, siteIsiteInfo.Description = siteInfo.General.Description}data["description"] = siteInfo.Description- data["language"] = i18n.LanguageChinese //handler.GetLang(ctx)+ data["language"] = handler.GetLang(ctx)data["timezone"] = siteInfo.Interface.TimeZonectx.HTML(code, tpl, data)