[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)

This commit is contained in:
VirtualWolf 2025-02-27 20:26:55 +11:00 committed by GitHub
parent 1f38b7b48f
commit 46862171e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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 }}

View file

@ -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>