diff --git a/blueprints/admin.py b/blueprints/admin.py index cb5a006..f4290c9 100644 --- a/blueprints/admin.py +++ b/blueprints/admin.py @@ -581,7 +581,11 @@ def admin_list(name: str) -> _Response: return htmlify( render_template( - tpl, inbox_data=inbox_data, older_than=older_than, newer_than=newer_than + tpl, + inbox_data=inbox_data, + older_than=older_than, + newer_than=newer_than, + list_name=name, ) ) diff --git a/templates/stream.html b/templates/stream.html index 3e74b1b..4c10761 100644 --- a/templates/stream.html +++ b/templates/stream.html @@ -1,10 +1,14 @@ {% extends "layout.html" %} {% import 'utils.html' as utils %} -{% block title %}{% if request.path == url_for('admin.admin_stream') %}Stream{% elif actor_id %}Profile {{ actor.name }}{% else %}Notifications{% endif %} - {{ config.NAME }}{% endblock %} +{% block title %}{% if request.path == url_for('admin.admin_stream') %}Stream{% elif actor_id %}Profile {{ actor.name }}{% elif list_name %}List {{ list_name }}{% else %}Notifications{% endif %} - {{ config.NAME }}{% endblock %} {% block content %}