aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2026-10-31 19:07:17 +0100
committerDennis Fink2026-10-31 19:07:17 +0100
commit95a13558fb9c3e083cdf43206f3bfa328631761b (patch)
tree58d23e02747376b5a1a4f88964429e179b643ed6
parentdf3b79e2c89978ec21dc2da7f90801dce33aeab2 (diff)
downloadwebmentions-ssg-95a13558fb9c3e083cdf43206f3bfa328631761b.tar.gz
webmentions-ssg-95a13558fb9c3e083cdf43206f3bfa328631761b.zip
fix(core): correct base template markup
Fix the Bootstrap spacing class and remove the stray closing container so the navigation markup is properly nested. Mark the decorative logo image with an empty alt attribute for accessibility.
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/templates/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index 5cd521b..15739ab 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -30,11 +30,12 @@ SPDX-License-Identifier: BSD-3-Clause
<body>
<header>
<nav class="navbar bg-primary py-1">
- <div class="container-fluid px3">
+ <div class="container-fluid px-3">
<a class="navbar-brand fs-6 mb-0" href="{{ url_for("root.index") }}">
<img src="{{ url_for('static', filename='images/logo.svg') }}"
width="30"
height="30"
+ alt=""
class="d-inline-block align-center">
Webmentions
</a>
@@ -51,9 +52,8 @@ SPDX-License-Identifier: BSD-3-Clause
</div>
{% endif %}
</div>
- </div>
- </nav>
- </header>
+ </nav>
+ </header>
<div class="mt-4">{{ render_messages(container=True) }}</div>
<div class="container py-4">
{% block content %}{% endblock %}