{{define "content"}} {{$owner := .Data.Owner}} {{$repo := .Data.RepoName}} {{$c := .Data.Commit}}

~{{$owner}}/{{$repo}}: {{$c.ShortSHA}}

{{$c.Subject}}

{{if $c.Body}}
{{$c.Body}}
{{end}}

{{$c.AuthorName}} <{{$c.AuthorEmail}}> — {{abstime $c.Date}}

Commit {{$c.SHA}}view raw patch

{{if $c.ParentSHAs}}

Parent(s): {{range $c.ParentSHAs}} {{shortsha .}} {{end}}

{{end}}
{{if .Data.IsMerge}}
This is a merge commit; the diff shown is against its first parent.
{{end}} {{if .Data.Truncated}}
This diff is too large to render in full. Download the raw patch to see everything.
{{end}}

{{len .Data.Files}} changed file(s)

{{range .Data.Files}} {{end}}
FileStatus+
{{if and .OldPath (ne .OldPath .Path)}}{{.OldPath}} → {{end}}{{.Path}} {{if .Binary}}BIN{{end}} {{.Status}} {{if .Additions}}+{{.Additions}}{{end}} {{if .Deletions}}-{{.Deletions}}{{end}}
{{end}} {{/* The bundle's href comes from the chrome's Assets, and is guarded on emptiness for the reason StyleHref is: a build without the artefact must render a page that says so by being inert, not a {{end}} {{end}}