kopia lustrzana https://gitlab.com/marnanel/chapeau
INSTANCE_BLURB. Closes issue #66.
rodzic
eb4ec809bb
commit
2198350394
|
@ -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],
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -25,6 +25,7 @@ class RootPage(View):
|
|||
context = {
|
||||
'title': settings.KEPI['INSTANCE_NAME'],
|
||||
'subtitle': settings.KEPI['INSTANCE_DESCRIPTION'],
|
||||
'blurb': settings.KEPI['INSTANCE_BLURB'],
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue