aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index edfcbf2..cc93e7f 100644
--- a/main.go
+++ b/main.go
@@ -73,7 +73,7 @@ func main() {
e(setup_database())
log.Printf("Setting up templates\n")
- tmpl = er(template.ParseGlob("tmpl/*"))
+ tmpl = er(template.ParseGlob(config.Tmpl + "/*"))
if config.Static {
log.Printf("Registering static handle\n")