diff --git a/pages/landing.tmpl b/pages/landing.tmpl index 2131b40..e8b0b4a 100644 --- a/pages/landing.tmpl +++ b/pages/landing.tmpl @@ -1,203 +1,203 @@ {{define "head"}} {{.SiteName}} {{end}} {{define "content"}}
{{ if .OpenRegistration }} {{template "oauth-buttons" .}} {{if not .DisablePasswordAuth}} {{if .Flashes}}
    {{range .Flashes}}
  • {{.}}
  • {{end}}
{{end}}
{{end}} {{ else }}

Registration is currently closed.

You can always sign up on another instance.

{{ end }}
{{if .Content}}
{{end}} {{ if .Content }}
{{.Content}}
{{ end }} {{end}} diff --git a/pages/signup.tmpl b/pages/signup.tmpl index b1bb50d..5ac927c 100644 --- a/pages/signup.tmpl +++ b/pages/signup.tmpl @@ -1,180 +1,180 @@ {{define "head"}} Sign up — {{.SiteName}} {{end}} {{define "content"}}

Sign up

{{ if .Error }}

{{.Error}}

{{ else }} {{if .Flashes}}
    {{range .Flashes}}
  • {{.}}
  • {{end}}
{{end}}
{{template "oauth-buttons" .}} {{if not .DisablePasswordAuth}}
{{end}}
{{ end }}
{{end}} diff --git a/templates/password-collection.tmpl b/templates/password-collection.tmpl index c1c9083..2952de4 100644 --- a/templates/password-collection.tmpl +++ b/templates/password-collection.tmpl @@ -1,87 +1,87 @@ {{define "password-collection"}} {{.DisplayTitle}}{{if not .SingleUser}} — {{.SiteName}}{{end}} {{if .StyleSheet}}{{end}} {{if .SingleUser}} {{end}}

{{.DisplayTitle}}

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

This blog requires a password.

{{end}} - +

{{if and .Script .CanShowScript}}{{end}} {{end}} diff --git a/templates/user/settings.tmpl b/templates/user/settings.tmpl index 338ea9a..d86df53 100644 --- a/templates/user/settings.tmpl +++ b/templates/user/settings.tmpl @@ -1,231 +1,231 @@ {{define "settings"}} {{template "header" .}}
{{if .Silenced}} {{template "user-silenced"}} {{end}}

{{if .IsLogOut}}Before you go...{{else}}Account Settings{{end}}

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

Please add an email address and/or passphrase so you can log in again later.

{{ else }}

Change your account settings here.

Username

- +
{{ end }} {{if not .DisablePasswordAuth}}

Passphrase

{{if and (not .HasPass) (not .IsLogOut)}}

Add a passphrase to easily log in to your account.

{{end}} {{if .HasPass}}

Current passphrase

- +

New passphrase

{{end}} {{if .IsLogOut}}{{end}} - +

Email

{{if and (not .Email) (not .IsLogOut)}}

Add your email to get:

  • No-passphrase login
  • Account recovery if you forget your passphrase
{{end}} - +
- +
{{end}} {{ if .OauthSection }} {{ if .OauthAccounts }}

Linked Accounts

These are your linked external accounts.

{{ range $oauth_account := .OauthAccounts }}
{{ if $oauth_account.DisplayName}} {{ if $oauth_account.AllowDisconnect}} {{else}} {{.DisplayName}} {{end}} {{else}} {{ $oauth_account.Provider | title }} {{end}}
{{ end }}
{{ end }} {{ if or .OauthSlack .OauthWriteAs .OauthGitLab .OauthGeneric .OauthGitea }}

Link External Accounts

Connect additional accounts to enable logging in with those providers, instead of using your username and password.

{{ if .OauthWriteAs }} {{ end }} {{ if .OauthSlack }} {{ end }} {{ if .OauthGitLab }} {{ end }} {{ if .OauthGitea }} {{ end }} {{ if .OauthGeneric }} {{ end }}
{{ end }} {{ end }} {{ if and .OpenDeletion (not .IsAdmin) }}

Incinerator

Delete your account

Permanently erase all your data, with no way to recover it.

{{end}}
{{template "footer" .}} {{end}}