pull/5896/merge
Georg Wicke-Arndt 2025-03-22 23:13:22 +00:00 committed by GitHub
commit bc76d12ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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())