1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-07-09 14:46:41 +08:00

Add download attribute to release attachments ()

Fixes 
This commit is contained in:
JakobDev
2024-01-09 09:51:20 +01:00
committed by GitHub
parent aa4d78431f
commit a80debc208

@ -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>