INSTANCE_BLURB. Closes issue #66.

merge-requests/2/merge
Marnanel Thurman 2021-01-04 02:57:17 +00:00
rodzic eb4ec809bb
commit 2198350394
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -59,6 +59,7 @@ KEPI = {
'INSTANCE_NAME': 'kepi server',
'INSTANCE_DESCRIPTION': 'this is a test server',
'INSTANCE_BLURB': 'Welcome to this kepi instance. It\'s not properly set up yet.',
'CONTACT_ACCOUNT': 'marnanel',
'CONTACT_EMAIL': 'marnanel@example.com',
'LANGUAGES': [LANGUAGE_CODE],

Wyświetl plik

@ -1,3 +1,3 @@
{% extends 'base.html' %}
{% block content %}Welcome to this kepi instance. It's not properly set up yet.{% endblock %}
{% block content %}{{ blurb }}{% endblock %}

Wyświetl plik

@ -25,6 +25,7 @@ class RootPage(View):
context = {
'title': settings.KEPI['INSTANCE_NAME'],
'subtitle': settings.KEPI['INSTANCE_DESCRIPTION'],
'blurb': settings.KEPI['INSTANCE_BLURB'],
},
)