logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 96cfdc77d241fff9c6ca500a919b3d3f598e414d
parent 8b10eb6fe197cf136fa26f86e17dee1ffb851773
Author: François Revol <revol@free.fr>
Date:   Sun,  9 Oct 2016 01:12:56 +0200

[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

Diffstat:

Msearx/templates/courgette/base.html2+-
Msearx/templates/legacy/base.html2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/searx/templates/courgette/base.html b/searx/templates/courgette/base.html @@ -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 = {}; diff --git a/searx/templates/legacy/base.html b/searx/templates/legacy/base.html @@ -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>