summaryrefslogtreecommitdiffstats
path: root/templates/api/packages/pypi/simple.tmpl
blob: d8e480d9c675dccd12de912e4241dbccecef24ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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>