{{define "content"}} {{if .User}}
{{if .Data.Repos}}{{template "repolist" .Data.Repos}}{{else}}

You have no repositories yet.

{{end}} {{if .Data.Shared}}

Shared with you

{{template "repolist" .Data.Shared}}{{end}}
{{else}}
{{if eq .Registration "closed"}}

Log in ▸ or check out some of our featured projects:

{{else}}

Register here ▸ or Log in ▸ to get started, or check out some of our featured projects:

{{end}}
{{range .Data.Featured}}

~{{.Owner.Name}}/{{.Name}}

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

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

{{end}}
{{end}}
{{end}} {{if .User}}{{with .Data.Recent}}

Recently pushed elsewhere

{{template "repolist" .}}
{{end}}
{{end}} {{end}} {{define "repolist"}} {{if .}}
{{range .}}

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

{{if .Description}}

{{.Description}}

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

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

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

Nothing here yet.

{{end}} {{end}}