{{with .Data.Project}}{{.}}{{else}}Home{{end}}

{{- range .Data.Breadcrumbs}} {{.}} {{- end}}

{{- with .Data.Link}}

Repository

Clone this repo using: git clone {{.}}

{{- end}} {{- with $list := .Data.Branches}}

Branches

{{- range $list}}
{{.Name}} {{- with and (len .Commits) (index .Commits 0) }}
Subject
{{.Subject}}
Author
{{.Author.Name}} <{{.Author.Email}}>
Date
{{- end}}
{{- end}} {{- end}} {{- with $list := .Data.Commits}} {{- range $list}} {{- end}}
{{len $list}} commits total
Date Commit Subject Author
{{.Abbr}} {{.Subject}} {{.Author.Name}}
{{- end}} {{- with .Data.Commit}}

Branch: {{.Branch}}

Author
{{.Author.Name}} <{{.Author.Email}}>
Date
{{.Date.Format "Jan. 02 '06 15:04:05"}}
Commit
{{.Hash}}
{{- range .Parents }}
Parent
{{.}} (diff to parent)
{{- end }} {{- with .Body }}
Log message
{{.}}
{{- end }}
Diff stat
{{- range .History }}
{{.}}
{{- end }}
Files
{{- range .Tree}}
{{.Path}} (raw)
{{- end}}
{{- end}} {{- with .Data.Diff}} {{- with .Commit}}

Branch: {{.Branch}}

Commit: {{.Hash}}

Author
{{.Author.Name}} <{{.Author.Email}}>
Date
{{.Date.Format "Jan. 02 '06 15:04:05"}}
Parent
{{$.Data.Diff.Parent}}
{{- end }}
{{.Body}}
{{- end }} {{- with .Data.Object}}
          {{- $l := (printf "%d" (len .Lines)) -}}
          {{- range .Lines -}}
            {{printf "%*d" (len $l) .}}
{{- end -}}
{{.Body}}
{{- end }}