Skip to content

Commit fbb30aa

Browse files
JakobDevsilverwind
authored andcommitted
Add download attribute to release attachments (go-gitea#28739)
Fixes go-gitea#28736
1 parent 819d637 commit fbb30aa

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)