{{define "content"}} {{$p := .Data.Page}} {{$c := .Data.Commit}}

{{$c.Subject}}

Commit
{{$c.Hash}} browse tree
{{range $c.Parents}}
Parent
{{.}}
{{end}}
Author
{{$c.Author}} <{{$c.Email}}>
Date
{{date $c.Time}} UTC
{{if $c.Body}}
{{$c.Body}}
{{end}}

{{len .Data.Files}} files changed, +{{.Data.Added}} −{{.Data.Removed}}

{{range .Data.Files}}

{{if eq .Status "renamed"}}{{.Old}} → {{end}}{{.New}} {{.Status}}

{{if .Binary}}

Binary file.

{{end}} {{range .Hunks}} {{range .Lines}}{{end}}
{{.Header}}
{{if .Old}}{{.Old}}{{end}}{{if .New}}{{.New}}{{end}}{{if eq .Kind "add"}}+{{else if eq .Kind "del"}}-{{else if eq .Kind "ctx"}} {{end}}{{.Text}}
{{end}}
{{end}} {{end}}