Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
0dd9b294
Commit
0dd9b294
authored
Mar 26, 2019
by
Sébastiaan Versteeg
Browse files
Set html language code based on current session
parent
c19fde14
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/templates/base.html
View file @
0dd9b294
{% load i18n static menu compress pick_header_image %}
{% get_current_language as LANGUAGE_CODE %}
<!DOCTYPE html>
<html
lang=
"
en
"
>
<html
lang=
"
{{ LANGUAGE_CODE }}
"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment