this repo has no description
1{{define "repoContent"}} 2 3<main> 4 {{- if .IsEmpty }} 5 this repo is empty 6 {{ else }} 7 <div class="log"> 8 {{ range .Commits }} 9 <div> 10 <div><a href="/{{ $.RepoInfo.FullName }}/commit/{{ .Hash.String }}" class="commit-hash">{{ slice .Hash.String 0 8 }}</a></div> 11 <pre>{{ .Message }}</pre> 12 </div> 13 <div class="commit-info"> 14 {{ .Author.Name }} <a href="mailto:{{ .Author.Email }}" class="commit-email">{{ .Author.Email }}</a> 15 <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> 16 </div> 17 <hr /> 18 {{ end }} 19 </div> 20 {{- if .Readme }} 21 <article class="readme"> 22 {{- .Readme -}} 23 </article> 24 {{- end -}} 25 {{- end -}} 26 27 <div class="clone-url"> 28 <strong>clone</strong> 29 <pre> 30git clone https://tangled.sh/{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }} 31 </pre> 32 </div> 33</main> 34{{end}} 35