Add support for setting a human-friendly SITE_NAME

This commit is contained in:
Jonas Schäfer
2021-01-22 15:28:06 +01:00
parent 2f7b99c3cc
commit 0d03cd5227
7 changed files with 31 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
{% from "library.j2" import box, form_button %}
{% block body %}
<div id="topbar" class="{% block topbar_classes %}{% endblock %}">
<header><a href="{{ url_for('.index') }}"><span>{{ config["SNIKKET_DOMAIN"] }}</span></a></header>
<header><a href="{{ url_for('.index') }}"><span>{{ config["SITE_NAME"] }}</span></a></header>
{% block topbar_left %}{% endblock %}
<div class="filler"></div>
{% block topbar_right %}{% endblock %}