{{define "content"}}

{{.Data.Repo.OwnerName}}/{{.Data.Repo.Name}} / commit

{{short .Data.Detail.Hash}}

{{.Data.Detail.Author}}{{if .Data.Detail.Email}} <{{.Data.Detail.Email}}>{{end}} · {{date .Data.Detail.Date}}{{range .Data.Detail.Bookmarks}} · {{.}}{{end}}

{{if .Data.Detail.Parents}}

parents: {{range .Data.Detail.Parents}}{{short .}} {{end}}

{{end}}
{{.Data.Detail.Message}}
{{with .Data.CI}}

CI: {{.State}} {{if .URL}}{{if .Description}}{{.Description}}{{else}}details{{end}}{{else}}{{.Description}}{{end}}

{{end}} {{if .Data.Lines}}
{{range .Data.Lines}}{{.Text}}{{end}}
{{if .Data.Truncated}}

Diff truncated at 2 MiB.

{{end}} {{else}}

No diff for this commit.

{{end}} {{end}}