fix branding in some more places

This commit is contained in:
Laura Klünder 2024-09-16 23:28:37 +02:00
parent deba9dca84
commit 7f67d68312
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>{% block title %}{% if branding %}{{ branding }}{% else %}}c3nav{% endif %}{% endblock %}</title>
<title>{% block title %}{{ branding }}{% endblock %}</title>
{% if favicon %}
<link href="{% static favicon %}" rel="icon">
{% endif %}

View file

@ -178,7 +178,7 @@ def map_index(request, mode=None, slug=None, slug2=None, details=None, options=N
}
elif mode is None:
metadata = {
'title': 'c3nav',
'title': settings.BRANDING,
# 'description': '',
'preview_img_url': request.build_absolute_uri(reverse('mapdata.preview.location',
kwargs={'slug': settings.MAIN_PREVIEW_SLUG})),