diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2023-11-05 10:27:04 +0200 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2023-11-05 10:27:04 +0200 |
commit | b2b18250412af9ce04a45a015e7952dc84b8016c (patch) | |
tree | 03ac0162bf8c7f6a7e4137c117be690eb3435133 | |
parent | 30c0f3eea0b2148902c4f4e94c6fa6a63251b665 (diff) | |
download | legit-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.go | 1 | ||||
-rw-r--r-- | static/style.css | 2 |
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; } |