{{ define "commit" }} {{ template "head" . }} {{ template "repoheader" . }} {{ template "nav" . }}
          {{- .commit.Message -}}
        

{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}

{{ .commit.Author.Name }} {{ .commit.Author.Email}}

commit: {{ .commit.This }}

{{ if .commit.Parent }}

parent: {{ .commit.Parent }} {{ end }}

{{ .stat.FilesChanged }} files changed, {{ .stat.Insertions }} insertions(+), {{ .stat.Deletions }} deletions(-)

jump to:

{{ range .diff }} {{ end }}
{{ $repo := .name }} {{ $this := .commit.This }} {{ range .diff }}
{{ if .Name.Old }} {{ .Name.Old }}{{ .Name.New }} {{ else }} {{ .Name.New }} {{- end -}}
            {{- range .TextFragments -}}
            

{{- .Header -}}

{{- range .Lines -}} {{- if eq .Op.String "+" -}} {{ .String }} {{- end -}} {{- if eq .Op.String "-" -}} {{ .String }} {{- end -}} {{- if eq .Op.String " " -}} {{ .String }} {{- end -}} {{- end -}} {{- end -}}
{{ end }}
{{ end }}