aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/templates/base.html20
1 files changed, 16 insertions, 4 deletions
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index 1275391..fabfaaf 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -3,7 +3,6 @@ SPDX-FileCopyrightText: 2026 Dennis Fink <me+coding@dennisfink.me>
SPDX-License-Identifier: BSD-3-Clause
-->
-
{% from "bootstrap5/utils.html" import render_messages %}
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
@@ -13,6 +12,14 @@ SPDX-License-Identifier: BSD-3-Clause
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <link rel="icon"
+ type="image/svg+xml"
+ sizes="any"
+ href="{{ url_for('static', filename='images/logo.svg') }}">
+ <link rel="icon"
+ type="image/png"
+ sizes="32x32"
+ href="{{ url_for('static', filename='images/favicon.png') }}">
{% block styles %}
<!-- Bootstrap CSS -->
{{ bootstrap.load_css() }}
@@ -24,7 +31,13 @@ SPDX-License-Identifier: BSD-3-Clause
<header>
<nav class="navbar bg-primary py-1">
<div class="container-fluid px3">
- <a class="navbar-brand fs-6 mb-0" href="{{ url_for("root.index") }}">Webmentions</a>
+ <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"
+ class="d-inline-block align-center">
+ Webmentions
+ </a>
{% if current_user.is_authenticated %}
<div class="navbar-nav flex-row gap-3">
<a class="nav-link{% if request.endpoint == 'root.received' %} active{% endif %}"
@@ -40,8 +53,7 @@ SPDX-License-Identifier: BSD-3-Clause
</header>
<div class="mt-4">{{ render_messages(container=True) }}</div>
<div class="container py-4">
- {% block content %}
- {% endblock %}
+ {% block content %}{% endblock %}
</div>
{% block scripts %}
<!-- Optional JavaScript -->