diff --git a/manage b/manage index 07761e76c..46a3164be 100755 --- a/manage +++ b/manage @@ -77,6 +77,7 @@ pyenv.: pypi.upload: Upload python packages to PyPi (to test use pypi.upload.test) test.: + yamllint : lint YAML files: $YAMLLINT_FILES pylint : lint PYLINT_FILES, searx/engines, searx & tests pep8 : pycodestyle (pep8) for all files except PYLINT_FILES unit : run unit tests diff --git a/searx/settings.yml b/searx/settings.yml index f53e3257b..475c94989 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -152,22 +152,32 @@ outgoing: # - plugin2 # - ... -# uncomment below section if you want to configure which plugin is enabled by -# default +# Comment or un-comment plugin to activate / deactivate by default. # # enabled_plugins: -# - "HTTPS rewrite" -# - "Hostname replace" # see configuration below +# # these plugins are enabled if nothing is configured .. +# - 'Hash plugin' +# - 'Search on category select' +# - 'Self Informations' +# - 'Tracker URL remover' +# - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy +# # these plugins are disabled if nothing is configured .. +# - 'Hostname replace' # see hostname_replace configuration below +# - 'Infinite scroll' +# - 'Open Access DOI rewrite' +# - 'Vim-like hotkeys' -# "Hostname replace" plugin configuration example: +# Configuration of the "Hostname replace" plugin: +# # hostname_replace: -# '(.*\.)?youtube\.com$': 'invidious.example.com' -# '(.*\.)?youtu\.be$': 'invidious.example.com' +# '(.*\.)?youtube\.com$': 'invidious.example.com' +# '(.*\.)?youtu\.be$': 'invidious.example.com' # '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com' -# '(.*\.)?reddit\.com$': 'teddit.example.com' -# '(.*\.)?redd\.it$': 'teddit.example.com' -# '(www\.)?twitter\.com$': 'nitter.example.com' -# 'spam\.example\.com': false # remove results from spam.example.com +# '(.*\.)?reddit\.com$': 'teddit.example.com' +# '(.*\.)?redd\.it$': 'teddit.example.com' +# '(www\.)?twitter\.com$': 'nitter.example.com' +# # to remove matching host names from result list, set value to false +# 'spam\.example\.com': false checker: # disable checker when in debug mode diff --git a/searx/templates/simple/categories.html b/searx/templates/simple/categories.html index 71fdca90a..29616f127 100644 --- a/searx/templates/simple/categories.html +++ b/searx/templates/simple/categories.html @@ -10,7 +10,7 @@ 'science': 'school-outline', 'files': 'file-tray-full-outline', 'social media': 'people-outline', -} -%} +} -%}
{{- '' -}}
{%- for category in categories -%} diff --git a/searx/templates/simple/icons.html b/searx/templates/simple/icons.html index ffd5041ca..3093e3e29 100644 --- a/searx/templates/simple/icons.html +++ b/searx/templates/simple/icons.html @@ -20,13 +20,13 @@ 'file-tray-full-outline':'', 'people-outline':'', -} +} -%} - + {% macro icon(action, alt) -%} {{ icons[action] | replace("ionicon", "ion-icon") | safe }} {%- endmacro %} - + {% macro icon_small(action) -%} {{ icons[action] | replace("ionicon", "ion-icon-small") | safe }} {%- endmacro %}