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

@@ -10,7 +10,7 @@
{% endblock %}
{% block body %}
<div id="mwrap"><main><div class="form layout-expanded">
<h1 class="form-title">{{ config["SNIKKET_DOMAIN"] }}</h1>
<h1 class="form-title">{{ config["SITE_NAME"] }}</h1>
<p class="form-desc">{{ _("Enter your Snikket address and password to manage your account.") }}</p>
<form method="POST" action="{{ url_for('.login') }}" name="login">
{{ form.csrf_token }}