Skip to content
Snippets Groups Projects
Commit e33ed593 authored by Jan Hartig's avatar Jan Hartig
Browse files

Change to more readable contact config

parent 7a8162d9
No related branches found
No related tags found
1 merge request!4Merge new features and fixes
......@@ -4,9 +4,10 @@ MAX_CONTENT_LENGTH = 10 # in GB
ENABLED_LOCALISATIONS = [ "de", "en" ]
CONTACT_ORG = "Fun Inc."
CONTACT_NAME = "John Smith"
CONTACT_MAIL = "john.smith@example.com"
[ CONTACT ]
ORG = "Fun Inc."
NAME = "John Smith"
MAIL = "john.smith@example.com"
[ MAIL ]
FROM = "funinc@example.com"
......
......@@ -57,7 +57,7 @@
</p>
<br>
<p class="mb-1">{{ config["LOCALISATIONS"]["contact"]["text"][request.language] }}:</p>
<p class="mb-1">{{ config["CONTACT_ORG"] }} <a class="link-secondary" href="mailto:{{ config[" CONTACT_MAIL"]}}">{{ config["CONTACT_NAME"] }}</a></p>
<p class="mb-1">{{ config["CONTACT"]["ORG"] }} <a class="link-secondary" href="mailto:{{ config["CONTACT"]["MAIL"] }}">{{ config["CONTACT"]["NAME"] }}</a></p>
<p class="font-monospace"><a class="link-secondary" target="_blank" referrerpolicy="no-referrer" href="https://gitlab1.ptb.de/janhartig/whisper-webvtt-transcriber">whisper-webvtt-transcriber</a></p>
</div>
</footer>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment