diff options
Diffstat (limited to 'templates/package')
-rw-r--r-- | templates/package/content/generic.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/package/content/generic.tmpl b/templates/package/content/generic.tmpl index eae4d670f9..2674a155d3 100644 --- a/templates/package/content/generic.tmpl +++ b/templates/package/content/generic.tmpl @@ -5,9 +5,9 @@ <div class="field"> <label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.generic.download"}}</label> <div class="markup"><pre class="code-block"><code> - {{- range .PackageDescriptor.Files -}} -curl <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/generic/{{$.PackageDescriptor.Package.Name}}/{{$.PackageDescriptor.Version.Version}}/{{.File.Name}}"></gitea-origin-url><br> - {{- end -}} +{{- range .PackageDescriptor.Files -}} +curl <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{$.PackageDescriptor.Owner.Name}}/generic/{{$.PackageDescriptor.Package.Name}}/{{$.PackageDescriptor.Version.Version}}/{{.File.Name}}"></gitea-origin-url> +{{end -}} </code></pre></div> </div> <div class="field"> |