templates: add missing title to repo page

This commit is contained in:
Anirudh Oppiliappan 2023-11-05 10:27:04 +02:00
parent 30c0f3eea0
commit b2b1825041
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
2 changed files with 2 additions and 1 deletions

View File

@ -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 {

View File

@ -34,7 +34,7 @@ pre {
}
body {
max-width: 750px;
max-width: 1000px;
padding: 0 13px;
margin: 40px auto;
}