Add PrimaryURL to github template

This commit is contained in:
Alexander Neumann 2017-12-27 19:30:04 +01:00
parent f078525d98
commit a297ab9d7c
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ restic users. The changes are ordered by importance.
Summary
-------
{{ range $entry := .Entries }}{{ with $entry }}
* {{ .TypeShort }} #{{ .PrimaryID }}: {{ .Title }}
* {{ .TypeShort }} [#{{ .PrimaryID }}]({{ .PrimaryURL }}): {{ .Title }}
{{- end }}{{ end }}
Details
@ -22,7 +22,7 @@ Details
[{{ $id }}](https://github.com/restic/restic/issues/{{ $id -}})
{{- end -}}
{{ range $id := .PRs -}}
{{ ` ` }}[{{ $id }}](https://github.com/restic/restic/pull/{{ $id -}})
{{ ` ` }}[#{{ $id }}](https://github.com/restic/restic/pull/{{ $id -}})
{{- end -}}
{{ ` ` }}{{ range $url := .OtherURLs -}}
{{ $url -}}