diff options
Diffstat (limited to 'templates/root.templ')
-rw-r--r-- | templates/root.templ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/root.templ b/templates/root.templ index 80b4a95..f4fd0e2 100644 --- a/templates/root.templ +++ b/templates/root.templ @@ -5,7 +5,7 @@ import "git.thomasvoss.com/euro-cash.eu/i18n" templ Root(head, body templ.Component) { {{ p := ctx.Value("printer").(i18n.Printer) }} <!DOCTYPE html> - <html lang={ p.Locale.Code } data-theme={ ctx.Value("theme").(string) }> + <html lang={ p.Locale.Bcp } data-theme={ ctx.Value("theme").(string) }> <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |