1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-04 20:30:11 +01:00

Add key to settings.yml for opening result links in a new tab

Closes #1552
Closes #444
This commit is contained in:
Scott Wallace 2020-09-01 17:41:48 +01:00
parent 4a913247b2
commit 8bcba31e31
2 changed files with 2 additions and 1 deletions

View File

@ -364,7 +364,7 @@ class Preferences(object):
choices=themes
),
'results_on_new_tab': MapSetting(
False,
settings['ui'].get('results_on_new_tab', False),
map={
'0': False,
'1': True,

View File

@ -25,6 +25,7 @@ ui:
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
theme_args :
oscar_style : logicodev # default style of oscar
# results_on_new_tab: False # Open result links in a new tab by default
# categories_order :
# - general
# - files