summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2023-11-05 10:27:04 +0200
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2023-11-05 10:27:04 +0200
commitb2b18250412af9ce04a45a015e7952dc84b8016c (patch)
tree03ac0162bf8c7f6a7e4137c117be690eb3435133
parent30c0f3eea0b2148902c4f4e94c6fa6a63251b665 (diff)
downloadlegit-b2b18250412af9ce04a45a015e7952dc84b8016c.tar.gz
legit-b2b18250412af9ce04a45a015e7952dc84b8016c.tar.bz2
legit-b2b18250412af9ce04a45a015e7952dc84b8016c.zip
templates: add missing title to repo page
Diffstat (limited to '')
-rw-r--r--routes/routes.go1
-rw-r--r--static/style.css2
2 files changed, 2 insertions, 1 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 {
diff --git a/static/style.css b/static/style.css
index cfffb82..67b8e26 100644
--- a/static/style.css
+++ b/static/style.css
@@ -34,7 +34,7 @@ pre {
}
body {
- max-width: 750px;
+ max-width: 1000px;
padding: 0 13px;
margin: 40px auto;
}