diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 11:14:38 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 11:14:38 +0530 |
commit | 7fe98772b079cca83b854e8f8a6be5dc55c10483 (patch) | |
tree | d51a870a94c52cb6060b9db72fa13c3ccb57a72e /routes/routes.go | |
parent | 5ea7cae973e8329ae768c35bda41e656f974815d (diff) | |
download | legit-7fe98772b079cca83b854e8f8a6be5dc55c10483.tar.gz legit-7fe98772b079cca83b854e8f8a6be5dc55c10483.tar.bz2 legit-7fe98772b079cca83b854e8f8a6be5dc55c10483.zip |
templates: add title tags
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 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 |