{{define "content"}} {{$p := .Data.Profile}} {{$o := .Data.Owner}}
{{if $p.Avatar}}{{else}}{{slice $o.Name 0 1}}{{end}}

{{with $p.Display}}{{.}}{{else}}{{$o.Name}}{{end}}

~{{$o.Name}}

{{with .Data.Bio}}
{{.}}
{{end}}
{{if .Data.Member}}
New repositoryEdit organisation
{{end}}

Repositories {{len .Data.Repos}}

{{if .Data.Repos}}
{{range .Data.Repos}}

{{.Name}}{{if .Private}} private{{else if .Unlisted}} unlisted{{end}}{{if .Stars}}☆ {{.Stars}}{{end}}

{{if .Description}}

{{.Description}}

{{end}}{{if .Tags}}

{{range .Tags}}#{{.}} {{end}}

{{end}}
{{end}}
{{else}}

This organisation does not have any repositories.

{{end}} {{with .Data.Activity}}

{{.Total}} commit{{if ne .Total 1}}s{{end}} across the organisation {{if .Year}}in {{.Year}}{{else}}in the past 12 months{{end}}

{{.Grid}}

less more

{{end}}
{{end}}