aboutsummaryrefslogtreecommitdiff
path: root/templates/login.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-07 21:18:28 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-07 21:18:51 +0800
commit5699c497a45e08e9e502974e8055d1291dde29dd (patch)
tree5f8c6555142ead9e1359f9e778e4f7375dd60069 /templates/login.tmpl
parenthttp/templates: Minify templates (diff)
downloadforge-5699c497a45e08e9e502974e8055d1291dde29dd.tar.gz
forge-5699c497a45e08e9e502974e8055d1291dde29dd.tar.zst
forge-5699c497a45e08e9e502974e8055d1291dde29dd.zip
http/templates: Reduce whitespace
Diffstat (limited to 'templates/login.tmpl')
-rw-r--r--templates/login.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/login.tmpl b/templates/login.tmpl
index b31cb36..47c4fc4 100644
--- a/templates/login.tmpl
+++ b/templates/login.tmpl
@@ -6,11 +6,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
- {{ template "head_common" . }}
- <title>Login &ndash; {{ .global.forge_title }}</title>
+ {{- template "head_common" . -}}
+ <title>Login &ndash; {{ .global.forge_title -}}</title>
</head>
<body class="index">
- {{ .login_error }}
+ {{- .login_error -}}
<div class="padding-wrapper">
<form method="POST" enctype="application/x-www-form-urlencoded">
<table>
@@ -52,7 +52,7 @@
</form>
</div>
<footer>
- {{ template "footer" . }}
+ {{- template "footer" . -}}
</footer>
</body>
</html>