Theme: add a preference to center the results (Oscar) (2nd edition)

related to
* #1169
* #1281
* #1286
This commit is contained in:
Alexandre Flament 2022-06-03 14:10:48 +02:00
parent 43b8b64866
commit 8a85d1b0c7
8 changed files with 174 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_aligment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG — a privacy-respecting, hackable metasearch engine">