From ee9438446fc4c5fae3a1a81e312f06a55ca9f92b Mon Sep 17 00:00:00 2001 From: "P.J. Finlay" Date: Sat, 29 Jul 2023 13:42:20 -0500 Subject: [PATCH] Always show favicon Currently the LibreTranslate web app only shows the favicon icon when the `LT_WEB=1` environment variable is set. LT_WEB is used to disable metadata by default to prevent search engines from indexing private LibreTranslate instances. This commit makes the favicon available even when the metadata is disabled. - https://github.com/LibreTranslate/LibreTranslate/issues/471 --- libretranslate/templates/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretranslate/templates/index.html b/libretranslate/templates/index.html index aec896d..86e3952 100644 --- a/libretranslate/templates/index.html +++ b/libretranslate/templates/index.html @@ -7,11 +7,12 @@ {% endfor %} {% if web_version %} LibreTranslate - {{ _h("Free and Open Source Machine Translation API") }} - {% endif %} + +