diff options
author | Derek Stevens <nilix@nilfm.cc> | 2023-02-01 23:01:36 -0700 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2023-02-08 00:30:57 +0530 |
commit | b78354aee2f0fef8552896d75e106c915365d3ef (patch) | |
tree | 5e772c82807d226dd4bc69c72f170849402941ae /routes/routes.go | |
parent | ee800624f58b26204c1f846a524ccef5a1b4e386 (diff) | |
download | legit-b78354aee2f0fef8552896d75e106c915365d3ef.tar.gz legit-b78354aee2f0fef8552896d75e106c915365d3ef.tar.bz2 legit-b78354aee2f0fef8552896d75e106c915365d3ef.zip |
tree: directories first, add size column, fix ..
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Diffstat (limited to 'routes/routes.go')
-rw-r--r-- | routes/routes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/routes.go b/routes/routes.go index 4d99ab0..143bb2b 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -254,6 +254,7 @@ func (d *deps) Log(w http.ResponseWriter, r *http.Request) { data["name"] = name data["ref"] = ref data["desc"] = getDescription(path) + data["dotdot"] = filepath.Dir(path) if err := t.ExecuteTemplate(w, "log", data); err != nil { log.Println(err) |