Browse Source

[feat] template: add apple-touch-icon in html header

* this makes it possible to add SearXNG to iOS devices homescreen with a proper icon
mrpaulblack 1 year ago
parent
commit
5e4ab964b7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      searx/templates/simple/base.html

+ 1 - 0
searx/templates/simple/base.html

@@ -29,6 +29,7 @@
   {% endblock %}
   {% endblock %}
   <link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}" sizes="any">
   <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">
   <link rel="icon" href="{{ url_for('static', filename='img/favicon.svg') }}" type="image/svg+xml">
+  <link rel="apple-touch-icon" href="{{ url_for('static', filename='img/favicon.png') }}"/>
 </head>
 </head>
 <body class="{{ endpoint }}_endpoint" >
 <body class="{{ endpoint }}_endpoint" >
   <main id="main_{{  self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}" class="{{body_class}}">
   <main id="main_{{  self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}" class="{{body_class}}">