[fix] change lang attribute of the html to match the current locale - #350
commitec48447361045bf1e68d3634fcae862e77f85d92
authorAdam Tauber <asciimoo@gmail.com>
dateThu 25 Jun 2020, 17:43 (6 years ago)
parent6ab569f
searx/templates/oscar/base.html+1−1
@@ -1,6 +1,6 @@
11{% from 'oscar/macros.html' import icon %}
22<!DOCTYPE html>
3−<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"{% if rtl %} dir="rtl"{% endif %}>
3+<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ preferences.get_value('locale') }}" xml:lang="{{ preferences.get_value('locale') }}"{% if rtl %} dir="rtl"{% endif %}>
44<head>
55 <meta charset="UTF-8" />
66 <meta name="description" content="searx - a privacy-respecting, hackable metasearch engine" />