aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2023-11-05 10:27:04 +0200
committerAnirudh Oppiliappan <x@icyphox.sh>2023-11-05 10:27:04 +0200
commitb2b18250412af9ce04a45a015e7952dc84b8016c (patch)
tree03ac0162bf8c7f6a7e4137c117be690eb3435133 /routes
parentlog errors from git.Open (diff)
downloadlegitrx-b2b18250412af9ce04a45a015e7952dc84b8016c.tar.gz
legitrx-b2b18250412af9ce04a45a015e7952dc84b8016c.tar.zst
legitrx-b2b18250412af9ce04a45a015e7952dc84b8016c.zip
templates: add missing title to repo page
Diffstat (limited to '')
-rw-r--r--routes/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/routes.go b/routes/routes.go
index daace2f..0499a9e 100644
--- a/routes/routes.go
+++ b/routes/routes.go
@@ -152,6 +152,7 @@ func (d *deps) RepoIndex(w http.ResponseWriter, r *http.Request) {
data["commits"] = commits
data["desc"] = getDescription(path)
data["servername"] = d.c.Server.Name
+ data["meta"] = d.c.Meta
data["gomod"] = isGoModule(gr)
if err := t.ExecuteTemplate(w, "repo", data); err != nil {