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.

This commit is contained in:
VirtualWolf 2025-02-27 19:26:45 +11:00
commit a858a87025
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>