mirror of https://github.com/gogs/gogs.git
Merge 6565a4c875
into 4acaaac85a
commit
bc76d12ceb
|
@ -129,6 +129,7 @@ func renderFile(c *context.Context, entry *git.TreeEntry, treeLink, rawLink stri
|
|||
return
|
||||
}
|
||||
|
||||
c.Data["Title"] = blob.Name() + " - " + c.Data["Title"]
|
||||
c.Data["FileSize"] = blob.Size()
|
||||
c.Data["FileName"] = blob.Name()
|
||||
c.Data["HighlightClass"] = highlight.FileNameToHighlightClass(blob.Name())
|
||||
|
|
Loading…
Reference in New Issue