{{ define "title" }}{{ .RepoInfo.FullName }} at {{ .Ref }}{{ end }} {{ define "extrameta" }} {{ end }} {{ define "repoContent" }}
{{ block "branchSelector" . }}{{ end }}
{{ block "fileTree" . }}{{ end }} {{ block "commitLog" . }}{{ end }}
{{ end }} {{ define "branchSelector" }}
{{ i "logs" "w-4 h-4" }} {{ .TotalCommits }} {{ if eq .TotalCommits 1 }}commit{{ else }}commits{{ end }}
{{ end }} {{ define "fileTree" }}
{{ $containerstyle := "py-1" }} {{ $linkstyle := "no-underline hover:underline dark:text-white" }} {{ range .Files }} {{ if not .IsFile }}
{{ end }} {{ end }} {{ range .Files }} {{ if .IsFile }}
{{ i "file" "w-3 h-3" }}{{ .Name }}
{{ end }} {{ end }}
{{ end }} {{ define "commitLog" }} {{ end }} {{ define "repoAfter" }} {{- if .HTMLReadme }}
{{ if .Raw }}
{{ .HTMLReadme }}
{{ else }} {{ .HTMLReadme }} {{ end }}
{{- end -}} {{ template "repo/fragments/cloneInstructions" . }} {{ end }}