From 4cd4a16f7d226cc4bc6ea0eb9d1f2029ed6b4103 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 12 Jan 2025 16:10:38 +0100 Subject: Add the banknotes/codes page --- src/templates.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/templates.go') 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, -- cgit v1.2.3