Site title
I would like to be able to change the site title in the top left and in the title bar. It is a bit confusing for the users, it doesn't tell them what the site is. uffd is already mentioned in the bottom right footer so this isn't trying to hide the software, just add a bit of clarity.
--- templates/base.html.orig 2022-03-22 13:47:31.946187169 +0000
+++ templates/base.html 2022-03-22 13:48:03.958355875 +0000
@@ -4,7 +4,7 @@
{% block head %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>{% block title %}uffd{% endblock %}</title>
+ <title>{% block title %}{{ config['SITE_TITLE'] }}{% endblock %}</title>
<link href="{{ url_for('static', filename="bootstrap/bootstrap.min.css") }}" rel="stylesheet">
<link href="{{ url_for('static', filename="fa/css/all.css") }}" rel="stylesheet">
@@ -35,7 +35,7 @@
{%- endmacro %}
<nav class="navbar navbar-expand-md navbar-dark bg-dark static-top" >
- <a class="navbar-brand" href="{{ url_for('index') }}">uffd</a>
+ <a class="navbar-brand" href="{{ url_for('index') }}">{{ config['SITE_TITLE'] }}</a>
{% if getnavbar() or request.user or config['LANGUAGES']|length > 1 %}
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#baseNavbar" aria-controls="baseNavbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
--- default_config.cfg.orig 2022-03-22 13:50:03.498985702 +0000
+++ default_config.cfg 2022-03-22 13:50:19.863071896 +0000
@@ -106,6 +106,7 @@
SERVICES_PUBLIC=True
BRANDING_LOGO_URL='/static/empty.png'
+SITE_TITLE='uffd'
# Name and contact mail address are displayed to users in a few places (plain text only!)
ORGANISATION_NAME='Example Organisation'