Removed SizeFmt. (#17890)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
KN4CK3Randwxiaoguang authored and GitHub committed 2021-12-03 11:33:34 +08:00
1 parent 03ec9e5060
commit 6ceef87671
5 files changed
+5 -6

No files matched your search

-1
View File
@@ -125,7 +125,6 @@ func NewFuncMap() []template.FuncMap {
"DateFmtShort": func(t time.Time) string {
return t.Format("Jan 02, 2006")
},
"SizeFmt": base.FileSize,
"CountFmt": base.FormatNumberSI,
"SubStr": func(str string, start, length int) string {
if len(str) == 0 {