diff --git a/examples/basic_engine.py b/examples/basic_engine.py index 36fb62605..34c34d89d 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 ab83d77ec..e9ec4bc3c 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