diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/base.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/base.html.twig | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig index aa388bcb..496b3fb6 100644 --- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig | |||
@@ -1,13 +1,15 @@ | |||
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"> |
10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 11 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
12 | <meta name="referrer" content="strict-origin-when-cross-origin"> | ||
11 | <!--[if IE]> | 13 | <!--[if IE]> |
12 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | 14 | <meta http-equiv="X-UA-Compatible" content="IE=10"> |
13 | <![endif]--> | 15 | <![endif]--> |
@@ -42,6 +44,7 @@ | |||
42 | 44 | ||
43 | {% block css %} | 45 | {% block css %} |
44 | {% endblock %} | 46 | {% endblock %} |
47 | <link rel="stylesheet" href="{{ asset('custom.css') }}"> | ||
45 | {% block scripts %} | 48 | {% block scripts %} |
46 | <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> | 49 | <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> |
47 | <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script> | 50 | <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script> |