settings_ui.rst 2.2 KB

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