[fix] set the title on the opensearch link tag

Firefox uses the title attributes instead of the ShortName from the xml file
as set in 0fbd7052 which closed #405
This commit is contained in:
François Revol 2016-10-09 01:12:56 +02:00
parent 8b10eb6fe1
commit 96cfdc77d2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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