summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-02-20 15:09:28 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-20 15:09:28 +0100
commit8829ee187afd24d0b54f12c73a3b9df1f8612f68 (patch)
tree9aa807a5a301b420a0a65531b2a9c8bc08ce0187 /web/template
parent[bugfix] update fedi api to support multiple separate votes in same multiple ... (diff)
downloadgotosocial-8829ee187afd24d0b54f12c73a3b9df1f8612f68.tar.xz
[feature] Add page-specific class per template (#3814)v0.18.0-rc3
* [feature] Add page-specific class per template * cheeky bit cheaper
Diffstat (limited to 'web/template')
-rw-r--r--web/template/confirm-email.tmpl (renamed from web/template/confirm_email.tmpl)0
-rw-r--r--web/template/confirmed-email.tmpl (renamed from web/template/confirmed_email.tmpl)0
-rw-r--r--web/template/login-info.tmpl (renamed from web/template/login_info.tmpl)0
-rw-r--r--web/template/page.tmpl4
4 files changed, 1 insertions, 3 deletions
diff --git a/web/template/confirm_email.tmpl b/web/template/confirm-email.tmpl
index d1932acd9..d1932acd9 100644
--- a/web/template/confirm_email.tmpl
+++ b/web/template/confirm-email.tmpl
diff --git a/web/template/confirmed_email.tmpl b/web/template/confirmed-email.tmpl
index 2dc605e4b..2dc605e4b 100644
--- a/web/template/confirmed_email.tmpl
+++ b/web/template/confirmed-email.tmpl
diff --git a/web/template/login_info.tmpl b/web/template/login-info.tmpl
index 238e3e9d2..238e3e9d2 100644
--- a/web/template/login_info.tmpl
+++ b/web/template/login-info.tmpl
diff --git a/web/template/page.tmpl b/web/template/page.tmpl
index fad0fc3b9..7dccc7469 100644
--- a/web/template/page.tmpl
+++ b/web/template/page.tmpl
@@ -71,9 +71,8 @@ image/webp
{{- end }}
<title>{{- template "instanceTitle" . -}}</title>
</head>
- <body>
+ <body class="page{{- if .pageClass }} {{ .pageClass }}-page{{- end -}}">
{{- include "login_button.tmpl" . | indent 3 }}
- <div class="page">
<header class="page-header">
{{- include "page_header.tmpl" . | indent 3 }}
</header>
@@ -83,6 +82,5 @@ image/webp
<footer class="page-footer">
{{- include "page_footer.tmpl" . | indent 3 }}
</footer>
- </div>
</body>
</html> \ No newline at end of file