this repo has no description
1{{ define "title" }} 2 branches · {{ .RepoInfo.FullName }} 3{{ end }} 4 5{{ define "repoContent" }} 6 <section> 7 <header class="font-bold text-sm mb-4 uppercase dark:text-white"> 8 Branches 9 </header> 10 11 <div class="overflow-x-auto"> 12 <table class="min-w-full table-auto"> 13 <tbody> 14 {{ range .Branches }} 15 <tr> 16 <td class="whitespace-nowrap"> 17 <a href="/{{ $.RepoInfo.FullName }}/tree/{{ .Name | urlquery }}" class="no-underline hover:underline flex items-center gap-2"> 18 <span> 19 {{ .Name }} 20 </span> 21 {{ if .IsDefault }} 22 <span class=" 23 text-sm rounded 24 bg-gray-100 dark:bg-gray-700 text-black dark:text-white 25 font-mono 26 px-2 mx-1/2 27 inline-flex items-center 28 "> 29 default 30 </span> 31 {{ end }} 32 </a> 33 </td> 34 <td class="whitespace-nowrap hidden md:table-cell"> 35 {{ if .Commit }} 36 <a href="/{{ $.RepoInfo.FullName }}/commits/{{ .Name | urlquery }}" class="font-mono">{{ slice .Commit.Hash.String 0 8 }}</a> 37 {{ end }} 38 </td> 39 <td class="whitespace-nowrap hidden md:table-cell"> 40 {{ if .Commit }} 41 {{ $messageParts := splitN .Commit.Message "\n\n" 2 }} 42 {{ index $messageParts 0 }} 43 {{ end }} 44 </td> 45 <td class="whitespace-nowrap"> 46 {{ if .Commit }} 47 {{ .Commit.Author.When | timeFmt }} 48 {{ end }} 49 </td> 50 </tr> 51 {{ end }} 52 </tbody> 53 </table> 54 </div> 55 </section> 56{{ end }}