summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-11-28 15:24:39 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-11-29 20:36:31 +0100
commit944b73511a3125212dc3d53f957bd5960c8fc0d0 (patch)
treefe0d7a5c1e8eee96883a7ee59ac015a389865013 /searx/templates
parent989f9e97f0225f72edca82d3ff02a0acc890bfa5 (diff)
downloadsearxng-944b73511a3125212dc3d53f957bd5960c8fc0d0.tar.gz
searxng-944b73511a3125212dc3d53f957bd5960c8fc0d0.zip
[enh] add SVG favicon href="favicon.svg" type="image/svg+xml"
Add link:: <link rel="icon" href="favicon.png" sizes="any"> <link rel="icon" href="favicon.svg" type="image/svg+xml"> Modern browsers should request:: INFO werkzeug : 127.0.0.1 - - [28/Nov/2021 17:03:07] "GET /static/themes/simple/img/favicon.svg HTTP/1.1" 200 - [1] https://github.com/audreyfeldroy/favicon-cheat-sheet#svg-file [2] https://dev.to/masakudamatsu/favicon-nightmare-how-to-maintain-sanity-3al7 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index 52a5e5192..bb1f51cad 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -31,7 +31,8 @@
{% block head %}
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/>
{% endblock %}
- <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
+ <link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}" sizes="any">
+ <link rel="icon" href="{{ url_for('static', filename='img/favicon.svg') }}" type="image/svg+xml">
</head>
<body class="{{ endpoint }}_endpoint" >
<main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}">