From 0f3b1051228328718798fe0b40d02fdb72e3481f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 8 Aug 2024 21:32:28 +0200 Subject: Rename some components --- middleware/i18n.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'middleware') diff --git a/middleware/i18n.go b/middleware/i18n.go index db90270..921534e 100644 --- a/middleware/i18n.go +++ b/middleware/i18n.go @@ -34,7 +34,7 @@ func I18n(next http.Handler) http.Handler { Name: "redirect", Value: r.URL.Path, }) - templates.Root(nil, templates.Language()).Render(ctx, w) + templates.Base(nil, templates.Language()).Render(ctx, w) } else { next.ServeHTTP(w, r.WithContext(ctx)) } -- cgit v1.2.3