mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[enh] change categories_as_tabs from a list to a dict
The tab icon names are currently hard coded in the templates.
This commit lets us introduce an icon property in the future, e.g:
categories_as_tabs:
general:
icon: search-outline
This commit is contained in:
@@ -228,16 +228,16 @@ Categories not listed here can still be searched with the :ref:`search-syntax`.
|
||||
.. code-block:: yaml
|
||||
|
||||
categories_as_tabs:
|
||||
- general
|
||||
- images
|
||||
- videos
|
||||
- news
|
||||
- map
|
||||
- music
|
||||
- it
|
||||
- science
|
||||
- files
|
||||
- social media
|
||||
general:
|
||||
images:
|
||||
videos:
|
||||
news:
|
||||
map:
|
||||
music:
|
||||
it:
|
||||
science:
|
||||
files:
|
||||
social media:
|
||||
|
||||
.. _settings engine:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user