summaryrefslogtreecommitdiff
path: root/searx/templates/simple/base.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-11-19 17:14:35 +0100
committerGitHub <noreply@github.com>2021-11-19 17:14:35 +0100
commitbc0cf9e83e2b52a45ea9a13ffdace07a622ed0cc (patch)
treea179697bd18097f6368eb14b630aa126cea35857 /searx/templates/simple/base.html
parent256ccc4a552ff51a73dc58f33442861870141869 (diff)
parentcf9d161d265ac23cdb1317b8dc878de4235819d3 (diff)
Merge pull request #521 from dalf/simple-theme-style-pref
Simple theme: allow the user to choose auto, light, dark style
Diffstat (limited to 'searx/templates/simple/base.html')
-rw-r--r--searx/templates/simple/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index 093b380f9..52a5e5192 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html class="no-js" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
+<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG — a privacy-respecting, hackable metasearch engine">