aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates.go')
-rw-r--r--src/templates.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates.go b/src/templates.go
index 972d69a..20fcf79 100644
--- a/src/templates.go
+++ b/src/templates.go
@@ -105,6 +105,6 @@ func (td templateData) Get(fmt string, args ...map[string]any) template.HTML {
return template.HTML(td.Printer.Get(fmt, args...))
}
-func (td templateData) GetN(fmtS, fmtP string, n int, args map[string]any) template.HTML {
- return template.HTML(td.Printer.GetN(fmtS, fmtP, n, args))
-} \ No newline at end of file
+func (td templateData) GetN(fmtS, fmtP string, n int, args ...map[string]any) template.HTML {
+ return template.HTML(td.Printer.GetN(fmtS, fmtP, n, args...))
+}