aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/base.html.twig
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2020-01-28 10:06:30 +0100
committerGitHub <noreply@github.com>2020-01-28 10:06:30 +0100
commit8afcb3a6478325959c872fccf206bf8dc80d164c (patch)
treee2d97a8b979ac0eac67a200600cdd9ece2113a61 /src/Wallabag/CoreBundle/Resources/views/base.html.twig
parent97c6561d5ce3c963ab77a0afd7a9164b2af56c20 (diff)
parent416d44d0aef68b04aec90d207e33feb68706e1c3 (diff)
downloadwallabag-8afcb3a6478325959c872fccf206bf8dc80d164c.tar.gz
wallabag-8afcb3a6478325959c872fccf206bf8dc80d164c.tar.zst
wallabag-8afcb3a6478325959c872fccf206bf8dc80d164c.zip
Merge pull request #4257 from Simounet/feat/lang-attribute
Use lang attribute
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/base.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/base.html.twig11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig
index befe2ef2..496b3fb6 100644
--- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig
@@ -1,9 +1,10 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<!--[if lte IE 6]><html class="no-js ie6 ie67 ie678" lang="en"><![endif]--> 2{% set lang = app.request.locale|default('') -%}
3<!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="en"><![endif]--> 3<!--[if lte IE 6]><html class="no-js ie6 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
4<!--[if IE 8]><html class="no-js ie8 ie678" lang="en"><![endif]--> 4<!--[if lte IE 7]><html class="no-js ie7 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
5<!--[if gt IE 8]><html class="no-js" lang="en"><![endif]--> 5<!--[if IE 8]><html class="no-js ie8 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
6<html> 6<!--[if gt IE 8]><html class="no-js"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
7<html{% if lang is not empty %} lang="{{ lang }}"{% endif %}>
7 <head> 8 <head>
8 {% block head %} 9 {% block head %}
9 <meta name="viewport" content="initial-scale=1.0"> 10 <meta name="viewport" content="initial-scale=1.0">