{{ define "repository" }} {{ template "head" . }} {{ template "meta" .Meta }} {{ template "nav" . }}
{{ template "repo-avatar" (dict "IconURL" .Repository.IconURL "RepositoryName" .Repository.Name "IsOwner" .IsOwner) }}

{{ .Owner.Handle }} / {{ .Repository.Name }}

{{ if .Repository.Description }}

{{ .Repository.Description }}

{{ end }}
{{ template "star" (dict "IsStarred" .IsStarred "StarCount" .StarCount "Interactive" true "Handle" .Owner.Handle "Repository" .Repository.Name) }} {{ template "pull-count" (dict "PullCount" .PullCount) }}
{{ if or .Repository.Licenses .Repository.SourceURL .Repository.DocumentationURL .Repository.Version }}
{{ if .Repository.Version }} {{ .Repository.Version }} {{ end }} {{ if .Repository.Licenses }} {{ range parseLicenses .Repository.Licenses }} {{ if .IsValid }} {{ .SPDXID }} {{ else }} {{ .Name }} {{ end }} {{ end }} {{ end }} {{ if .Repository.SourceURL }} Source {{ end }} {{ if .Repository.DocumentationURL }} Documentation {{ end }}
{{ end }}
{{ if eq .ArtifactType "helm-chart" }}

Pull this chart

{{ if .LatestTag }} {{ template "docker-command" (print "helm pull oci://" $.RegistryURL "/" $.Owner.Handle "/" $.Repository.Name " --version " .LatestTag) }} {{ else }} {{ template "docker-command" (print "helm pull oci://" $.RegistryURL "/" $.Owner.Handle "/" $.Repository.Name) }} {{ end }} {{ else }}

Pull this image

{{ if .LatestTag }} {{ template "docker-command" (print "docker pull " $.RegistryURL "/" $.Owner.Handle "/" $.Repository.Name ":" .LatestTag) }} {{ else }} {{ template "docker-command" (print "docker pull " $.RegistryURL "/" $.Owner.Handle "/" $.Repository.Name ":latest") }} {{ end }} {{ end }}
{{ if .ReadmeHTML }}
{{ .ReadmeHTML }}
{{ else }}

No description available

{{ end }}
{{ template "footer" . }} {{ end }}