{{define "content"}} {{$repo := .Data.Repo}} {{$c := .Data.Commit}}

{{$c.Subject}}

{{template "avin" (dict "N" $c.Author "S" 30)}} {{$c.Author}} 提交于 {{datetime $c.When}} · {{short $c.SHA}} {{if .Data.Parent}}·父提交 {{short .Data.Parent}}{{end}}
{{if $c.Message}}
{{$c.Message}}
{{end}}
{{num .Data.FileChanged}} 个文件变更 +{{.Data.Additions}} -{{.Data.Deletions}} {{$c.Email}}
{{range $c.Files}} {{end}}
•{{.Path}} {{if .Binary}}二进制 {{else}}+{{.Additions}} -{{.Deletions}}{{end}}
变更内容 {{if $c.Truncated}}已截断显示(文件过大){{end}}
{{$c.Diff}}
{{end}}