diff --git a/pages/login.tmpl b/pages/login.tmpl index 1c8e862..6c1b3ed 100644 --- a/pages/login.tmpl +++ b/pages/login.tmpl @@ -1,30 +1,40 @@ {{define "head"}}Log in — {{.SiteName}} {{end}} {{define "content"}}

Log in to {{.SiteName}}

{{if .Flashes}}{{end}}


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

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

{{end}} + {{ if .OauthSlack }} +

+ Sign-in with Slack. +

+ {{ end }} + {{ if .OauthWriteAs }} +

+ Sign-in with Write.As. +

+ {{ end }} {{end}} diff --git a/pages/signup-oauth.tmpl b/pages/signup-oauth.tmpl new file mode 100644 index 0000000..1ca1101 --- /dev/null +++ b/pages/signup-oauth.tmpl @@ -0,0 +1,163 @@ +{{define "head"}} +Sign up — {{.SiteName}} + + +{{end}} +{{define "content"}} +
+ +
+
+

Sign up

+ + {{ if .Error }} +

{{.Error}}

+ {{ else }} + {{if .Flashes}}
    + {{range .Flashes}}
  • {{.}}
  • {{end}} +
{{end}} + +
+
+ + +
+ + +
+ +
+
+
+
+ {{ end }} +
+
+ + + + +{{end}}