diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-07 01:51:13 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-07 01:51:13 +0200 |
commit | 3cb7572a8f1092b3169f4faaa2e76776dea39993 (patch) | |
tree | 62bdfdf1547fa88f5b25e4da1aac8d734906509f /templates/navbar.templ | |
parent | e555accb612e189ab9bdad403958d4e0a6d809ae (diff) |
Just use hardcoded strings
Diffstat (limited to 'templates/navbar.templ')
-rw-r--r-- | templates/navbar.templ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/navbar.templ b/templates/navbar.templ index 95e8563..5007183 100644 --- a/templates/navbar.templ +++ b/templates/navbar.templ @@ -3,7 +3,7 @@ package templates import "git.thomasvoss.com/euro-cash.eu/i18n" templ navbar() { - {{ p := ctx.Value(PrinterKey).(i18n.Printer) }} + {{ p := ctx.Value("printer").(i18n.Printer) }} <nav> <menu> |