summaryrefslogtreecommitdiff
path: root/searx/templates/simple/index.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-06-18 09:04:13 +0200
committerAlexandre Flament <alex@al-f.net>2022-06-18 09:04:13 +0200
commit0539e383092cb3c0363bd532c9f856c0d6f51d79 (patch)
tree03e3888cefb73ae8a88e7e6314825b7bac7a57b5 /searx/templates/simple/index.html
parent43b8b64866e450dc4143afd209258f40d6ac3325 (diff)
downloadsearxng-0539e383092cb3c0363bd532c9f856c0d6f51d79.tar.gz
searxng-0539e383092cb3c0363bd532c9f856c0d6f51d79.zip
Workaround: index.html: remove image preload
Related to https://github.com/searxng/searxng/issues/1326 URL for the logo is referenced twice: * in index.html for preloading: it contains the hash for cache busting (when static_use_hash: true) * in searxng.min.css: to actually display the image. The URL doesn't contain the hash. So the image preload actually loads twice the same image. This commit removed the image preloading. This is workaround: the real fix is to be able to use the URL with the hash in the CSS.
Diffstat (limited to 'searx/templates/simple/index.html')
-rw-r--r--searx/templates/simple/index.html3
1 files changed, 0 insertions, 3 deletions
diff --git a/searx/templates/simple/index.html b/searx/templates/simple/index.html
index 5a83e10a0..5c207bbd9 100644
--- a/searx/templates/simple/index.html
+++ b/searx/templates/simple/index.html
@@ -1,8 +1,5 @@
{% extends "simple/base.html" %}
{% from 'simple/icons.html' import icon_big %}
-{% block meta %}
- <link rel="preload" href="{{ url_for('static', filename='img/searxng.png') }}" as="image" />
-{% endblock %}
{% block content %}
<div class="index">
<div class="title"><h1>SearXNG</h1></div>