summaryrefslogtreecommitdiffstats
path: root/routes/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/template.go')
-rw-r--r--routes/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/template.go b/routes/template.go
index dc1ec35..6af5cfe 100644
--- a/routes/template.go
+++ b/routes/template.go
@@ -37,7 +37,7 @@ func (d *deps) listFiles(files []git.NiceTree, data map[string]any, w http.Respo
data["files"] = files
data["meta"] = d.c.Meta
- if err := t.ExecuteTemplate(w, "repo", data); err != nil {
+ if err := t.ExecuteTemplate(w, "tree", data); err != nil {
log.Println(err)
return
}