diff options
author | 2025-02-20 15:09:28 +0100 | |
---|---|---|
committer | 2025-02-20 15:09:28 +0100 | |
commit | 8829ee187afd24d0b54f12c73a3b9df1f8612f68 (patch) | |
tree | 9aa807a5a301b420a0a65531b2a9c8bc08ce0187 /internal/web | |
parent | [bugfix] update fedi api to support multiple separate votes in same multiple ... (diff) | |
download | gotosocial-8829ee187afd24d0b54f12c73a3b9df1f8612f68.tar.xz |
[feature] Add page-specific class per template (#3814)v0.18.0-rc3
* [feature] Add page-specific class per template
* cheeky bit cheaper
Diffstat (limited to 'internal/web')
-rw-r--r-- | internal/web/confirmemail.go | 4 | ||||
-rw-r--r-- | internal/web/login-info.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/web/confirmemail.go b/internal/web/confirmemail.go index e512761f4..323de6bb2 100644 --- a/internal/web/confirmemail.go +++ b/internal/web/confirmemail.go @@ -77,7 +77,7 @@ func (m *Module) confirmEmailGETHandler(c *gin.Context) { // Serve page where user can click button // to POST confirmation to same endpoint. page := apiutil.WebPage{ - Template: "confirm_email.tmpl", + Template: "confirm-email.tmpl", Instance: instance, Extra: map[string]any{ "email": email, @@ -127,7 +127,7 @@ func (m *Module) confirmEmailPOSTHandler(c *gin.Context) { // Serve page informing user that their // email address is now confirmed. page := apiutil.WebPage{ - Template: "confirmed_email.tmpl", + Template: "confirmed-email.tmpl", Instance: instance, Extra: map[string]any{ "email": user.Email, diff --git a/internal/web/login-info.go b/internal/web/login-info.go index bd52f72ef..9aca768b6 100644 --- a/internal/web/login-info.go +++ b/internal/web/login-info.go @@ -50,7 +50,7 @@ func (m *Module) loginGETHandler(c *gin.Context) { } page := apiutil.WebPage{ - Template: "login_info.tmpl", + Template: "login-info.tmpl", Instance: instance, OGMeta: apiutil.OGBase(instance), Stylesheets: []string{cssAbout, cssLoginInfo}, |