show app name in titles
Marco Andronaco andronacomarco@gmail.com
Thu, 24 Oct 2024 20:35:48 +0200
7 files changed,
7 insertions(+),
7 deletions(-)
M
templates/auth-login.tmpl
→
templates/auth-login.tmpl
@@ -1,6 +1,6 @@
{{ extends "auth.tmpl" }} -{{define "title" -}}Login{{end}} +{{define "title" -}}Login - {{end}} {{define "auth" -}} <h1>Login</h1>
M
templates/auth-new_password.tmpl
→
templates/auth-new_password.tmpl
@@ -1,6 +1,6 @@
{{ extends "auth.tmpl" }} -{{define "title" -}}Reset password{{end}} +{{define "title" -}}Reset password - {{end}} {{define "auth" -}} <h1>Reset password</h1>
M
templates/auth-register.tmpl
→
templates/auth-register.tmpl
@@ -1,6 +1,6 @@
{{ extends "auth.tmpl" }} -{{define "title" -}}Sign up{{end}} +{{define "title" -}}Sign up - {{end}} {{define "auth" -}} <h1>Sign up</h1>
M
templates/auth-reset_password.tmpl
→
templates/auth-reset_password.tmpl
@@ -1,6 +1,6 @@
{{ extends "auth.tmpl" }} -{{define "title" -}}Reset password{{end}} +{{define "title" -}}Reset password - {{end}} {{define "auth" -}} <h1>Reset password</h1>
M
templates/base.tmpl
→
templates/base.tmpl
@@ -4,7 +4,7 @@
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{block "title" .}}Page title{{end}}</title> + <title>{{block "title" .}}{{end}}App</title> <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> <link rel="stylesheet" href="/static/style.css"> </head>
M
templates/index.tmpl
→
templates/index.tmpl
@@ -1,6 +1,6 @@
{{ extends "base.tmpl" }} -{{define "title" -}}Auth boilerplate{{end}} +{{define "title" -}}{{end}} {{define "content" -}} <h1>Auth boilerplate</i>!</h1>
M
templates/profile.tmpl
→
templates/profile.tmpl
@@ -1,6 +1,6 @@
{{ extends "base.tmpl" }} -{{define "title" -}}User profile{{end}} +{{define "title" -}}Profile - {{end}} {{define "content" -}} <h1>Welcome, <i>{{.User.Username}}</i>!</h1>