aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/templates/base.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/webmentions_ssg/templates/base.html b/webmentions_ssg/templates/base.html
index 19412ed..69e5215 100644
--- a/webmentions_ssg/templates/base.html
+++ b/webmentions_ssg/templates/base.html
@@ -32,7 +32,8 @@ SPDX-License-Identifier: BSD-3-Clause
<header>
<nav class="navbar bg-primary py-1">
<div class="container-fluid px-3">
- <a class="navbar-brand fs-6 mb-0" href="{{ url_for('root.index') }}">
+ <a class="navbar-brand fs-6 mb-0"
+ href="{{ url_for('webmentions.index') }}">
<img src="{{ url_for('static', filename='images/logo.svg') }}"
width="30"
height="30"
@@ -42,11 +43,13 @@ SPDX-License-Identifier: BSD-3-Clause
</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 %}"
- href='{{ url_for("root.received") }}'>Received</a>
- <a class="nav-link{% if request.endpoint == 'root.sent' %} active{% endif %}"
- href='{{ url_for("root.sent") }}'>Sent</a>
- <form action="{{ url_for('root.logout') }}" method="post" class="m-0">
+ <a class="nav-link{% if request.endpoint == 'webmentions.received_list' %} active{% endif %}"
+ href='{{ url_for("webmentions.received_list") }}'>Received</a>
+ <a class="nav-link{% if request.endpoint == 'webmentions.source_list' %} active{% endif %}"
+ href='{{ url_for("webmentions.source_list") }}'>Sent</a>
+ <form action="{{ url_for('webmentions.logout') }}"
+ method="post"
+ class="m-0">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="nav-link border-0 bg-transparent">Logout</button>
</form>