{{define "content"}} {{$p := .Data.Page}} {{if .Data.Path}}

History of {{.Data.Path}} on {{$p.Ref}}

{{end}} {{if $p.Empty}}

No commits.

{{else}}
{{if .Data.Path}}{{end}}
{{with .Data.Error}}

{{.}}

{{end}}{{if and .Data.Query (not .Data.Commits) (not .Data.Error)}}

No commit on {{$p.Ref}} {{if eq .Data.Mode "regex"}}has a diff line matching{{else}}changes the number of occurrences of{{end}} {{.Data.Query}}.

{{end}}{{if and .Data.Query .Data.Commits}}

Commits on {{$p.Ref}} that {{if eq .Data.Mode "regex"}}touch lines matching{{else}}add or remove{{end}} {{.Data.Query}} · clear

{{end}}
{{range .Data.Commits}}
{{short .Hash}} {{.Subject}}{{template "badge" .}}
{{template "who" .}} · {{ago .Time}}
{{if .Body}}
{{.Body}}
{{end}}
{{end}}
{{with .Data.Next}}

Older ▸

{{end}} {{end}} {{end}} {{define "badge"}}{{with signer .}}Verified ~{{.}}{{else}}{{if and .Signature (ne .Signature "N")}}Unverified{{end}}{{end}}{{end}}