{{ if .Unreleased.CommitGroups -}} {{ range .Unreleased.CommitGroups -}}
{{ range .Commits -}}
- {{ if .Scope }}{{ .Scope }}: {{ end }}{{ .Subject }} {{ end }} {{ end -}} {{ end -}} {{ end -}}
{{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}}
{{ range .Commits -}}
- {{ if .Scope }}{{ .Scope }}: {{ end }}{{ .Subject }} {{ end }} {{ end -}}
{{- if .MergeCommits -}}
{{ range .MergeCommits -}}
- {{ .Header }} {{ end }} {{ end -}}
{{- if .NoteGroups -}} {{ range .NoteGroups -}}
{{ range .Notes }} {{ .Body }} {{ end }} {{ end -}} {{ end -}} {{ end -}}
{{- if .Versions }}
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{