From 7fe98772b079cca83b854e8f8a6be5dc55c10483 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 18 Dec 2022 11:14:38 +0530 Subject: templates: add title tags --- routes/routes.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/routes.go b/routes/routes.go index 920e66c..9d165e7 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -173,6 +173,7 @@ func (d *deps) FileContent(w http.ResponseWriter, r *http.Request) { data["name"] = name data["ref"] = ref data["desc"] = getDescription(path) + data["path"] = treePath d.showFile(contents, data, w) return -- cgit