{{define "content"}} {{if .User}}

Your repositories

New repository
{{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}}

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

{{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}}