mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	
				
					committed by
					
						
						Lauris BH
					
				
			
			
				
	
			
			
			
						parent
						
							12a098920c
						
					
				
				
					commit
					9a965035f0
				
			@@ -93,10 +93,8 @@ func NewFuncMap() []template.FuncMap {
 | 
			
		||||
		"DateFmtShort": func(t time.Time) string {
 | 
			
		||||
			return t.Format("Jan 02, 2006")
 | 
			
		||||
		},
 | 
			
		||||
		"SizeFmt": func(s int64) string {
 | 
			
		||||
			return base.FileSize(s)
 | 
			
		||||
		},
 | 
			
		||||
		"List": List,
 | 
			
		||||
		"SizeFmt": base.FileSize,
 | 
			
		||||
		"List":    List,
 | 
			
		||||
		"SubStr": func(str string, start, length int) string {
 | 
			
		||||
			if len(str) == 0 {
 | 
			
		||||
				return ""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user