diff --git a/config.example.toml b/config.example.toml index 484a2b7834caf2f416e76535d6a369a60f0ea7de..0c7bf39ee8c23f1460eb1f922223da7b191c9d22 100644 --- a/config.example.toml +++ b/config.example.toml @@ -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" diff --git a/templates/base.html b/templates/base.html index f8b4eeb685cc8fd4e132d2fd24865fb67624bde0..309091b7ac937df5ebaf311782478dfcaa069fa1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -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>