templates: add missing title to repo page
This commit is contained in:
parent
30c0f3eea0
commit
b2b1825041
|
@ -152,6 +152,7 @@ func (d *deps) RepoIndex(w http.ResponseWriter, r *http.Request) {
|
||||||
data["commits"] = commits
|
data["commits"] = commits
|
||||||
data["desc"] = getDescription(path)
|
data["desc"] = getDescription(path)
|
||||||
data["servername"] = d.c.Server.Name
|
data["servername"] = d.c.Server.Name
|
||||||
|
data["meta"] = d.c.Meta
|
||||||
data["gomod"] = isGoModule(gr)
|
data["gomod"] = isGoModule(gr)
|
||||||
|
|
||||||
if err := t.ExecuteTemplate(w, "repo", data); err != nil {
|
if err := t.ExecuteTemplate(w, "repo", data); err != nil {
|
||||||
|
|
|
@ -34,7 +34,7 @@ pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
max-width: 750px;
|
max-width: 1000px;
|
||||||
padding: 0 13px;
|
padding: 0 13px;
|
||||||
margin: 40px auto;
|
margin: 40px auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue