diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-01-12 16:10:38 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-01-12 16:10:38 +0100 |
commit | 4cd4a16f7d226cc4bc6ea0eb9d1f2029ed6b4103 (patch) | |
tree | fcf8eb1113f24a6fcd96f00449bb29724ac11ab4 /src/templates.go | |
parent | dd5f14befa96d71ae2b32f7809de99cf50dd7f07 (diff) |
Diffstat (limited to 'src/templates.go')
-rw-r--r-- | src/templates.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/templates.go b/src/templates.go index eadcafd..2cee22e 100644 --- a/src/templates.go +++ b/src/templates.go @@ -2,6 +2,7 @@ package src import ( "embed" + "fmt" "html/template" "log" "strings" @@ -26,6 +27,7 @@ var ( "denoms": denoms, "locales": locales, "safe": asHTML, + "sprintf": fmt.Sprintf, "strToCtype": strToCtype, "toUpper": strings.ToUpper, "tuple": templateMakeTuple, |