summaryrefslogtreecommitdiffstats
path: root/routes/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/routes.go')
-rw-r--r--routes/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/routes.go b/routes/routes.go
index 3124d1b..4d99ab0 100644
--- a/routes/routes.go
+++ b/routes/routes.go
@@ -151,6 +151,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["gomod"] = isGoModule(gr)
if err := t.ExecuteTemplate(w, "repo", data); err != nil {
log.Println(err)