Skip to content

Commit

Permalink
templates: add missing title to repo page
Browse files Browse the repository at this point in the history
  • Loading branch information
icyphox committed Nov 5, 2023
1 parent 30c0f3e commit b2b1825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pre {
}

body {
max-width: 750px;
max-width: 1000px;
padding: 0 13px;
margin: 40px auto;
}
Expand Down

0 comments on commit b2b1825

Please sign in to comment.