diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 21:33:04 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 21:33:04 +0530 |
commit | 5091695e75b2db30b8926d8aa17164c84031bc77 (patch) | |
tree | 40cd73e213e935634229fdadb701badd939846fd /routes/template.go | |
parent | 4eaaf451295ce9b541769d1322543f2d982ef5b0 (diff) | |
download | legit-5091695e75b2db30b8926d8aa17164c84031bc77.tar.gz legit-5091695e75b2db30b8926d8aa17164c84031bc77.tar.bz2 legit-5091695e75b2db30b8926d8aa17164c84031bc77.zip |
templates: repo and log
Diffstat (limited to '')
-rw-r--r-- | routes/template.go | 2 |
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 } |