mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 07:09:21 +01:00
aad193c4a6
(cherry picked from commit 303b95a1c1
)
15 lines
519 B
Go HTML Template
15 lines
519 B
Go HTML Template
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Links for {{.PackageDescriptor.Package.Name}}</title>
|
|
</head>
|
|
<body>
|
|
<h1>Links for {{.PackageDescriptor.Package.Name}}</h1>
|
|
{{range .PackageDescriptors}}
|
|
{{$p := .}}
|
|
{{range .Files}}
|
|
<a href="{{$.RegistryURL}}/files/{{$p.Package.LowerName}}/{{$p.Version.Version}}/{{.File.Name}}#sha256={{.Blob.HashSHA256}}"{{if $p.Metadata.RequiresPython}} data-requires-python="{{$p.Metadata.RequiresPython}}"{{end}}>{{.File.Name}}</a><br>
|
|
{{end}}
|
|
{{end}}
|
|
</body>
|
|
</html>
|