{{define "content"}} {{.Repo.Name}} {{if ne .Path "."}} {{if .IsCommitHash}}{{.Ref | shortHash}}{{else}}{{.Ref}}{{end}} {{range $i, $part := splitPath .Path}} {{if eq $i (dec (len (splitPath $.Path)))}} {{$part}} {{else}} {{$part}} {{end}} {{end}} {{else}} {{if .IsCommitHash}}{{.Ref | shortHash}}{{else}}{{.Ref}}{{end}} {{end}} File tree {{if .Entries}} Name Size {{if ne .Path "."}} .. - {{end}} {{range .Entries}} {{.Name}}{{if .IsTree}}/{{end}} {{if .IsTree}}-{{else}}{{.Size | humanizeSize}}{{end}} {{end}} {{else}} Empty directory {{end}} {{end}}
Empty directory