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

Your repositories

{{if .Data.Repos}}{{template "repolist" .Data.Repos}}{{else}}

You have no repositories yet.

{{end}} Create a repository ▸ {{if .Data.Shared}}

Shared with you

{{template "repolist" .Data.Shared}}{{end}}

Your profile

Set a bio in Markdown, a location, a workplace and an avatar. Your page is ~{{.User.Name}}.

Edit your profile ▸

Keys and tokens

Register SSH public keys for pushing and create access tokens for HTTPS pushes or scripts.

Manage keys ▸
{{else}}

Host a repository

Registration is by invitation. Once you have an account, push any repository and it gets a page with its history, refs and README.

Register ▸

Browse the code

Every public repository can be cloned anonymously over HTTPS and read in the browser with syntax highlighting.

Browse public projects ▸

Already a member?

Log in to see your repositories, manage SSH keys and tokens, and edit your profile.

Log in ▸
{{end}}

Recent repositories

{{.Data.Public}} public repositories from {{.Data.Users}} users.

{{template "repolist" .Data.Recent}}
{{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}}