{{define "head"}}Log in — {{.SiteName}} {{end}} {{define "content"}}

Log in to {{.SiteName}}

{{if .Flashes}}{{end}} {{ if or .OauthSlack .OauthWriteAs .OauthGitlab .OauthGeneric .OauthGitea }}
{{ if .OauthSlack }} Sign in with Slack {{ end }} {{ if .OauthWriteAs }} Sign in with Write.as {{ end }} {{ if .OauthGitlab }} Sign in with {{.GitlabDisplayName}} {{ end }} {{ if .OauthGeneric }} Sign in with {{ .OauthGenericDisplayName }} {{ end }} {{ if .OauthGitea }} Sign in with {{.GiteaDisplayName}} {{ end }}
{{if not .DisablePasswordAuth}}

or


{{end}} {{ end }} {{if not .DisablePasswordAuth}}


{{if .To}}{{end}}
{{if and (not .SingleUser) .OpenRegistration}}

{{if .Message}}{{.Message}}{{else}}No account yet? Sign up to start a blog.{{end}}

{{end}} {{end}} {{end}}