Skip to content

Commit

Permalink
Add download attribute to release attachments (#28739)
Browse files Browse the repository at this point in the history
Fixes #28736
  • Loading branch information
JakobDev authored Jan 9, 2024
1 parent aa4d784 commit a80debc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/release/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
{{if .Attachments}}
{{range .Attachments}}
<li>
<a target="_blank" rel="nofollow" href="{{.DownloadURL}}">
<a target="_blank" rel="nofollow" href="{{.DownloadURL}}" download>
<strong>{{svg "octicon-package" 16 "gt-mr-2"}}{{.Name}}</strong>
</a>
<div>
Expand Down

0 comments on commit a80debc

Please sign in to comment.