diff --git a/templates/commit.html b/templates/commit.html index f0c58dc..440204b 100644 --- a/templates/commit.html +++ b/templates/commit.html @@ -45,6 +45,7 @@ {{ $repo := .name }} {{ $this := .commit.This }} + {{ $parent := .commit.Parent }} {{ range .diff }} @@ -58,7 +59,7 @@ M {{ end }} {{ if .Name.Old }} - {{ .Name.Old }} + {{ .Name.Old }} {{ if .Name.New }} → {{ .Name.New }}