changelog: fixup note.tmpl syntax

pull/8923/head
Mike Morris 4 years ago
parent 87278a739b
commit aacf1fbeab

@ -1,3 +1,3 @@
{{- define "note" -}}
{{.Body}}{{if not stringHasPrefix .Issue "_"}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}}
{{.Body}}{{if not (stringHasPrefix .Issue "_")}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}}
{{- end -}}

Loading…
Cancel
Save