Explorar el Código

Merge pull request #726 from mmuman/opensearch_shortname

[fix] set the title on the opensearch link tag
Adam Tauber hace 8 años
padre
commit
218857999e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      searx/templates/courgette/base.html
  2. 1
    1
      searx/templates/legacy/base.html

+ 1
- 1
searx/templates/courgette/base.html Ver fichero

@@ -22,7 +22,7 @@
22 22
         {% endblock %}
23 23
         {% block meta %}{% endblock %}
24 24
         {% block head %}
25
-        <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
25
+        <link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
26 26
         {% endblock %}
27 27
         <script type="text/javascript">
28 28
             searx = {};

+ 1
- 1
searx/templates/legacy/base.html Ver fichero

@@ -17,7 +17,7 @@
17 17
         {% endblock %}
18 18
         {% block meta %}{% endblock %}
19 19
         {% block head %}
20
-        <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
20
+        <link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
21 21
         {% endblock %}
22 22
     </head>
23 23
     <body>