summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-10-22 05:10:49 +0200
committerGitHub <noreply@github.com>2016-10-22 05:10:49 +0200
commit218857999e41c86732738a6733cb1fe3ea6b33ca (patch)
treefe368e8142c4e75ff24a19db99f92206302b5b3a
parent629fa4355afc5a4680ae14d8b3d4d31e3616f9f6 (diff)
parent5b21a7fb65cbaf5e3393937646263ede32b99ed2 (diff)
downloadsearxng-218857999e41c86732738a6733cb1fe3ea6b33ca.tar.gz
searxng-218857999e41c86732738a6733cb1fe3ea6b33ca.zip
Merge pull request #726 from mmuman/opensearch_shortname
[fix] set the title on the opensearch link tag
-rw-r--r--searx/templates/courgette/base.html2
-rw-r--r--searx/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
index b2c70a3b7..8e272585c 100644
--- 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
index a2c38fef7..da19741cb 100644
--- 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>