Test_theme/README.md

23 lines
1 KiB
Markdown
Raw Normal View History

2023-03-18 07:13:18 +01:00
# Searxng_beetroot
Disroot theme for Searxng.
To use this theme, `git clone` it on your computer.
Create a `beetroot` folder in `/var/www/searx/searx/static/themes` and in `/var/www/searx/searx/templates`.
Then, copy the content of `beetroot_static` in `/var/www/searx/searx/static/themes/beetroot` and the content of `beetroot_template` in `/var/www/searx/searx/templates/beetroot`.
Enable the beetroot them by editing `/var/www/searx/searx/settings.yml` and changing:
```
default_theme : beetroot
theme_args :
beetroot_style : auto
```
Restart searx: `service uwsgi restart`
## NOTE:
The minify versions of the css files are missing at the moment. So, to test things as they are now, edit `/var/www/searx/searx/templates/beetroot/base.html` and replace `<link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('beetroot-style')+'.min.css') }}" type="text/css" />` by `<link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('beetroot-style')+'.css') }}" type="text/css" />`