diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-04 18:00:45 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-05 11:03:44 +0100 |
commit | a4c2cfb837a3f92e2c0f0b8a0bac7a6e03499640 (patch) | |
tree | c522af821c7584896998ebc74569e9a534fc5ef5 /docs | |
parent | b38036d519c8b74d7be972e7b730b50f92fa8db4 (diff) | |
download | searxng-a4c2cfb837a3f92e2c0f0b8a0bac7a6e03499640.tar.gz searxng-a4c2cfb837a3f92e2c0f0b8a0bac7a6e03499640.zip |
[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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/engines/settings.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index cf561a5ab..2d8288ddd 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -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: |