Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Merge pull request #485 from dalf/pref_query_in_title

Alexandre Flament42c1a938f0c5
diff --cc searx/templates/simple/results.html
index 59de1ee0d,05cbc45d7..5a279bd7d
--- a/searx/templates/simple/results.html
+++ b/searx/templates/simple/results.html
@@@ -7,10 -7,10 +7,10 @@@
{% endfor %}
{% endfor %}
{%- endmacro %}
- {% block title %}{% if method == 'GET' %}{{- q|e -}} -{% endif %}{% endblock %}
+ {% block title %}{% if query_in_title %}{{- q|e -}} - {% endif %}{% endblock %}
{% block meta %}<link rel="alternate" type="application/rss+xml" title="Searx search: {{ q|e }}" href="{{ url_for('search', _external=True) }}?q={{ q|urlencode }}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}&amp;pageno={{ pageno }}&amp;time_range={{ time_range }}&amp;language={{ current_language }}&amp;safesearch={{ safesearch }}&amp;format=rss">{% endblock %}
{% block content %}
-<nav id="linkto_preferences"><a href="{{ url_for('preferences') }}">{{ icon('navicon-round') }}</a></nav>
+<nav id="linkto_preferences"><a href="{{ url_for('preferences') }}">{{ icon_big('menu-outline') }}</a></nav>
{% include 'simple/search.html' %}
{% if results and results|map(attribute='template')|unique|list|count == 1 %}