summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar VirtualWolf <VirtualWolf@users.noreply.github.com>2025-02-27 20:26:55 +1100
committerLibravatar GitHub <noreply@github.com>2025-02-27 10:26:55 +0100
commit46862171e0b7c9ad088157f385b07c092cd4ac05 (patch)
treee0d431760e420eaeee220cfe56c67e9336c919b7
parent[chore] Remove duplicate swagger docs build in Dockerfile (#3842) (diff)
downloadgotosocial-46862171e0b7c9ad088157f385b07c092cd4ac05.tar.xz
[feature] Added an extra CSS class name to the About This Instance and Register an Account sections in the root index template to allow for easier targeting with custom CSS. (#3843)
-rw-r--r--web/template/index.tmpl2
-rw-r--r--web/template/index_register.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/template/index.tmpl b/web/template/index.tmpl
index 0adba1741..ca6ee8abd 100644
--- a/web/template/index.tmpl
+++ b/web/template/index.tmpl
@@ -27,7 +27,7 @@
{{- with . }}
<main class="about">
- <section class="about-section" role="region" aria-labelledby="about">
+ <section class="about-section about-this-instance" role="region" aria-labelledby="about">
<h3 id="about">About this instance</h3>
<div class="about-section-contents">
{{- include "shortDescription" . | indent 3 }}
diff --git a/web/template/index_register.tmpl b/web/template/index_register.tmpl
index 38a00f47b..5153ce621 100644
--- a/web/template/index_register.tmpl
+++ b/web/template/index_register.tmpl
@@ -27,7 +27,7 @@ New account registration is currently&nbsp;
{{- end -}}
{{- with . }}
-<section class="about-section" role="region" aria-labelledby="signup">
+<section class="about-section register-an-account" role="region" aria-labelledby="signup">
<h3 id="signup">Register an Account on {{ .instance.Title -}}</h3>
<div class="about-section-contents">
<p>{{- template "registrationLimits" . -}}</p>