Skip to content

Commit

Permalink
Add download attribute to release attachments (go-gitea#28739)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobDev authored and fuxiaohei committed Jan 17, 2024
1 parent c403132 commit 20497cc
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 20497cc

Please sign in to comment.