{{/* signin — GET /signin (auth.go's signin handler): estilo's sign-in form, or once a link is on its way, the check-your-email state that replaces it, or the card between the form and Keymail. rastrillo/auth's own handlers never render a page of their own here: Begin, Callback and Verify report every outcome by redirecting back here with a query the handler reads, and the two pages they do ask for — the refusal and the confirm step — are this template too (refused, renderConfirm). The form POSTs to rastrillo/auth's own Begin through gateBegin (app.go, auth.go). An address whose domain runs Keymail is answered with this page again in its Keymail state (.Continue): the door's card, and a meta refresh that goes on to Keymail — a navigation from a page, which form-action does not govern. The form carries force=1 only on ?force=1 (a failed Keymail exchange), to ask for an emailed link. The bar shows the brand only: nobody is signed in here to have an account, and everything the brand could link to is behind the session gate. Data: signinView. */}} {{define "page-head"}}{{with .Continue}}{{template "home-oauth-head" .}}{{end}}{{end}} {{/* The confirm step an emailed link opens on (auth.go's renderConfirm): the door with its address field taken away, and one Sign in button that posts the link's token back. GET /auth/verify spends nothing; this POST does. estilo has no confirm variant, so the form is this page's own. The token is the link's own query value, escaped here. */}} {{define "content"}}{{with .Confirm}}{{template "estilo-door-open" .Door}}
{{.}}
{{- end}} {{template "estilo-door-close"}} {{- else with .Sent}}{{template "estilo-signin-sent" .}}{{else}}{{template "estilo-signin" .SignIn}}{{end}}{{end}}