From b78354aee2f0fef8552896d75e106c915365d3ef Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Wed, 1 Feb 2023 23:01:36 -0700 Subject: tree: directories first, add size column, fix .. Signed-off-by: Derek Stevens --- routes/routes.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') 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) -- cgit