aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-06 16:36:29 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-06 19:01:12 -0700
commit6bfd68b178f68380b5469762de80f7b19a921d20 (patch)
treef6aecdfbd83d9a6aab6a3057739da75d855d8ca3 /fatcat_scholar
parentc56a5361e3c7ec19e8c461c48c4619e3b62e10fd (diff)
downloadfatcat-scholar-6bfd68b178f68380b5469762de80f7b19a921d20.tar.gz
fatcat-scholar-6bfd68b178f68380b5469762de80f7b19a921d20.zip
set HTML language to locale correctly
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 6f00a83..17e61ee 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en" style="position: relative; min-height: 100%; height: auto;">
+<html lang="{{ locale or 'en' }}" style="position: relative; min-height: 100%; height: auto;">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">