From df8c1b4b21616bcb2da554c1a69a204fa9cbeca0 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sat, 11 Mar 2023 14:01:39 -0500 Subject: [PATCH] Show title only if web_version --- libretranslate/templates/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libretranslate/templates/index.html b/libretranslate/templates/index.html index 1f2dfb2..0a31501 100644 --- a/libretranslate/templates/index.html +++ b/libretranslate/templates/index.html @@ -5,11 +5,13 @@ {% for al in alternate_locales %} {% endfor %} + {% if web_version %} LibreTranslate - {{ _h("Free and Open Source Machine Translation API") }} - + {% endif %} +