commit: 218857999e41c86732738a6733cb1fe3ea6b33ca
parent: 629fa4355afc5a4680ae14d8b3d4d31e3616f9f6
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sat, 22 Oct 2016 05:10:49 +0200
Merge pull request #726 from mmuman/opensearch_shortname
[fix] set the title on the opensearch link tag
Diffstat:
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>