From 93cb051efd1157d33985523c19098abe586dd540 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 12 Mar 2024 13:53:22 +0100 Subject: [PATCH] Fix default title --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 193a2e61..bc7cea51 100644 --- a/templates/base.html +++ b/templates/base.html @@ -33,7 +33,7 @@ <link rel="stylesheet" href="{{ get_url(path="fonts/font-awesome/css/all.css") }}" /> <link rel="stylesheet" href="{{ get_url(path="style.css") }}" /> - <title>{% block title %}{{ thing.title }}{% endblock %}</title> + <title>{% block title %}{{ thing.title | default(value=config.title) }}{% endblock %}</title> </head> <body class="has-navbar-fixed-top"> -- GitLab