Skip to content

Commit a80debc

Browse files
authored
Add download attribute to release attachments (#28739)
Fixes #28736
1 parent aa4d784 commit a80debc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/release/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
{{if .Attachments}}
9595
{{range .Attachments}}
9696
<li>
97-
<a target="_blank" rel="nofollow" href="{{.DownloadURL}}">
97+
<a target="_blank" rel="nofollow" href="{{.DownloadURL}}" download>
9898
<strong>{{svg "octicon-package" 16 "gt-mr-2"}}{{.Name}}</strong>
9999
</a>
100100
<div>

0 commit comments

Comments
 (0)