{{define "content"}}

Register for {{.Host}} or log in

{{if eq .Data.Mode "closed"}}

Registration is closed on {{.Host}}. Ask an administrator for an account.

{{else}}

Registration gives you a page at ~username, repositories under it, SSH and HTTPS push, and pull requests on anything public. {{if eq .Data.AskEmail "off"}}No email is needed{{else if eq .Data.AskEmail "optional"}}An email address is optional{{else}}An email address is needed{{end}} and you are logged in straight away.

{{if ne .Data.AskEmail "off"}}{{end}} {{if eq .Data.Mode "invite"}}{{end}}
{{end}}

Privacy notice: {{.Host}} stores your username, a hash of your password, the keys and profile details you choose to add, and the address of each failed login attempt for a few minutes. Nothing is collected for marketing or analytics and nothing is shared with third parties.

{{end}}