{{ define "title" }}{{ .RepoInfo.FullName }}{{ end }} {{ define "content" }} {{ template "user/fragments/picHandleLink" .RepoInfo.OwnerDid }} / {{ .RepoInfo.Name }} {{ if .RepoInfo.Source }} {{ $sourceOwner := resolve .RepoInfo.Source.Did }} {{ i "git-fork" "w-3 h-3 shrink-0" }} forked from {{ $sourceOwner }}/{{ .RepoInfo.Source.Name }} {{ end }} {{ if .RepoInfo.Description }} {{ .RepoInfo.Description | description }} {{ else }} this repo has no description {{ end }} {{ with .RepoInfo.Website }} {{ i "globe" "size-4" }} {{ . | trimUriScheme }} {{ end }} {{ if .RepoInfo.Topics }} {{ range .RepoInfo.Topics }} {{ . }} {{ end }} {{ end }} {{ template "repo/fragments/repoStar" .RepoInfo }} {{ i "git-fork" "w-4 h-4" }} fork {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} {{ i "rss" "size-4" }} atom {{ $activeTabStyles := "-mb-px bg-white dark:bg-gray-800" }} {{ $tabs := .RepoInfo.GetTabs }} {{ $tabmeta := .RepoInfo.TabMetadata }} {{ range $item := $tabs }} {{ $key := index $item 0 }} {{ $value := index $item 1 }} {{ $icon := index $item 2 }} {{ $meta := index $tabmeta $key }} {{ i $icon "w-4 h-4 mr-2" }} {{ $key }} {{ if $meta }} {{ $meta }} {{ end }} {{ end }} {{ block "repoContentLayout" . }} {{ block "repoContent" . }}{{ end }} {{ block "repoAfter" . }}{{ end }} {{ end }} {{ end }}