settings_ui.rst.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. .. _settings ui:
  2. =======
  3. ``ui:``
  4. =======
  5. .. _cache busting:
  6. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#caching_static_assets_with_cache_busting
  7. .. code:: yaml
  8. ui:
  9. default_locale: ""
  10. query_in_title: false
  11. infinite_scroll: false
  12. center_alignment: false
  13. cache_url: https://web.archive.org/web/
  14. default_theme: simple
  15. theme_args:
  16. simple_style: auto
  17. search_on_category_select: true
  18. hotkeys: default
  19. url_formatting: pretty
  20. ``default_locale`` :
  21. SearXNG interface language. If blank, the locale is detected by using the
  22. browser language. If it doesn't work, or you are deploying a language
  23. specific instance of searx, a locale can be defined using an ISO language
  24. code, like ``fr``, ``en``, ``de``.
  25. ``query_in_title`` :
  26. When true, the result page's titles contains the query it decreases the
  27. privacy, since the browser can records the page titles.
  28. ``infinite_scroll``:
  29. When true, automatically loads the next page when scrolling to bottom of the current page.
  30. ``center_alignment`` : default ``false``
  31. When enabled, the results are centered instead of being in the left (or RTL)
  32. side of the screen. This setting only affects the *desktop layout*
  33. (:origin:`min-width: @tablet <client/simple/src/less/definitions.less>`)
  34. .. cache_url:
  35. ``cache_url`` : ``https://web.archive.org/web/``
  36. URL prefix of the internet archive or cache, don't forget trailing slash (if
  37. needed). The default is https://web.archive.org/web/ alternatives are:
  38. - https://webcache.googleusercontent.com/search?q=cache:
  39. - https://archive.today/
  40. ``default_theme`` :
  41. Name of the theme you want to use by default on your SearXNG instance.
  42. ``theme_args.simple_style``:
  43. Style of simple theme: ``auto``, ``light``, ``dark``, ``black``
  44. ``results_on_new_tab``:
  45. Open result links in a new tab by default.
  46. ``search_on_category_select``:
  47. Perform search immediately if a category selected. Disable to select multiple categories.
  48. ``hotkeys``:
  49. Hotkeys to use in the search interface: ``default``, ``vim`` (Vim-like).
  50. ``url_formatting``:
  51. Formatting type to use for result URLs: ``pretty``, ``full`` or ``host``.