{{ define "title" }} tags ยท {{ .RepoInfo.FullName }} {{ end }} {{ define "extrameta" }} {{ $title := printf "tags · %s" .RepoInfo.FullName }} {{ $url := printf "https://tangled.org/%s/tags" .RepoInfo.FullName }} {{ template "repo/fragments/og" (dict "RepoInfo" .RepoInfo "Title" $title "Url" $url) }} {{ end }} {{ define "repoContent" }}

tags

{{ range .Tags }} {{ template "repo/fragments/singleTag" (list $ . ) }} {{ else }}

This repository does not contain any tags.

{{ end }}
{{ end }} {{ define "repoAfter" }} {{ if gt (len .DanglingArtifacts) 0 }}
{{ block "dangling" . }} {{ end }}
{{ end }} {{ end }} {{ define "dangling" }} {{ $root := . }} {{ $isPushAllowed := $root.RepoInfo.Roles.IsPushAllowed }} {{ $artifacts := $root.DanglingArtifacts }} {{ if and (gt (len $artifacts) 0) $isPushAllowed }}

dangling artifacts

The tags that these artifacts were attached to have been deleted. These artifacts are only visible to collaborators.

{{ range $artifact := $artifacts }} {{ $args := dict "LoggedInUser" $root.LoggedInUser "RepoInfo" $root.RepoInfo "Artifact" $artifact }} {{ template "repo/fragments/artifact" $args }} {{ end }}
{{ end }} {{ end }}