summaryrefslogtreecommitdiffhomepage
path: root/src/templates.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-01-12 16:10:38 +0100
committerThomas Voss <mail@thomasvoss.com> 2025-01-12 16:10:38 +0100
commit4cd4a16f7d226cc4bc6ea0eb9d1f2029ed6b4103 (patch)
treefcf8eb1113f24a6fcd96f00449bb29724ac11ab4 /src/templates.go
parentdd5f14befa96d71ae2b32f7809de99cf50dd7f07 (diff)
Add the banknotes/codes pageHEADmaster
Diffstat (limited to 'src/templates.go')
-rw-r--r--src/templates.go2
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,