summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-11-24 13:10:27 +0100
committerGitHub <noreply@github.com>2021-11-24 13:10:27 +0100
commit42c1a938f0c5c5f34c6904f8458dbf4d7c2c1ab6 (patch)
treee5af4bf8c9a2b7b126fb7aa21af77af4e3647a4a /searx/templates/simple/preferences.html
parentdae165eaa02ff51f6c1aec8c1ab33dfe4aed3797 (diff)
parent80fb77476fad4b229418c530f3ffda67f357a15a (diff)
downloadsearxng-42c1a938f0c5c5f34c6904f8458dbf4d7c2c1ab6.tar.gz
searxng-42c1a938f0c5c5f34c6904f8458dbf4d7c2c1ab6.zip
Merge pull request #485 from dalf/pref_query_in_title
[mod] new preference: query_in_title
Diffstat (limited to 'searx/templates/simple/preferences.html')
-rw-r--r--searx/templates/simple/preferences.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index 23f6355f5..3fb962bd3 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -256,6 +256,18 @@
<div class="description">{{ _('Proxying image results through SearXNG') }}</div>
</fieldset>
{% endif %}
+ {% if 'query_in_title' not in locked_preferences %}
+ <fieldset>
+ <legend>{{ _('Query in the page\'s title') }}</legend>
+ <p class="value">
+ <select name='query_in_title'>
+ <option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
+ <option value="" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
+ </select>
+ </p>
+ <div class="description">{{ _('When enabled, the result page\'s title contains your query. Your browser can record this title.') }}</div>
+ </fieldset>
+ {% endif %}
{{ plugin_preferences('privacy') }}
{{ tab_footer() }}