diff --git a/examples/basic_engine.py b/examples/basic_engine.py index 36fb6260..34c34d89 100644 --- a/examples/basic_engine.py +++ b/examples/basic_engine.py @@ -1,4 +1,6 @@ +categories = ['general'] # optional + def request(query, params): '''pre-request callback params: diff --git a/searx/templates/search.html b/searx/templates/search.html index ab83d77e..e9ec4bc3 100644 --- a/searx/templates/search.html +++ b/searx/templates/search.html @@ -3,8 +3,8 @@

{% for category in categories %} - {{ category }}: + {{ category }} {% endfor %}

-

remember categories:

+

remember categories