summaryrefslogtreecommitdiffhomepage
path: root/src/templates.go
diff options
context:
space:
mode:
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,