{{define "title"}}{{.Repo.OwnerName}}/{{.Repo.Name}}{{end}} {{define "content"}} {{if .DirPath}}

{{.DirPath}}

{{end}}
{{template "refmenu" .}} {{.Repo.Name}}/{{range .Crumbs}}{{.Name}}/{{end}} Find file History Download
{{if .Entries}}

Clone: git clone {{.CloneURL}}

{{end}} {{if .Facts.Commits}}{{$r := printf "/%s/%s" .Repo.OwnerName .Repo.Name}}

{{.Facts.Commits}} commit{{if ne .Facts.Commits 1}}s{{end}} {{.Facts.Branches}} branch{{if ne .Facts.Branches 1}}es{{end}} {{.Facts.Tags}} tag{{if ne .Facts.Tags 1}}s{{end}} {{with .Facts.License}}{{.}}{{end}} {{with .Facts.Release}}latest {{.}}{{end}} {{with .Facts.Build}}build {{.}}{{end}}

{{with .Facts.Languages}}

{{range .}}{{.Name}} {{pct .Percent}}%{{end}}

{{end}} {{with .Facts.Contributors}}

{{len .}} contributor{{if ne (len .) 1}}s{{end}}{{range .}}{{template "authorname" dict "Name" .Name "User" .User "Email" (printf "%s · %d commits" .Email .Commits)}}{{end}}

{{end}}
{{end}} {{with .Tip}}{{if .SHA}}
{{template "authorname" dict "Name" .Author "User" .User "Email" .Email}} {{.Subject}} {{short .SHA}} {{ago .When}}
{{end}}{{end}}
{{range .Entries}}{{$c := index $.LastCommits .Name}} {{if eq .Type "tree"}} {{else}}{{end}} {{else}}{{end}}
namelast commitupdated
{{.Name}}/{{.Name}}{{with $c.Subject}}{{.}}{{end}} {{ago $c.When}}
this repository is empty — push something:
git remote add origin {{.CloneURL}}
{{if .ReadmeHTML}}
{{.ReadmeName}}
{{.ReadmeHTML}}
{{end}} {{end}}