aboutsummaryrefslogtreecommitdiff
path: root/renderer/renderer.go
diff options
context:
space:
mode:
Diffstat (limited to 'renderer/renderer.go')
-rw-r--r--renderer/renderer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/renderer/renderer.go b/renderer/renderer.go
index 79860cc..031986e 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -7,8 +7,8 @@ import (
"encoding/xml"
)
-func Template(t string) http.Handler {
- tmpl := template.Must(template.ParseFiles(t))
+func Template(t ...string) http.Handler {
+ tmpl := template.Must(template.ParseFiles(t...))
handlerFunc := func(w http.ResponseWriter, req *http.Request) {
tmpl.Execute(w, req)