]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/base.html.twig
Merge pull request #1 from wallabag/master
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / base.html.twig
CommitLineData
495aecfe 1<!DOCTYPE html>
416d44d0
S
2{% set lang = app.request.locale|default('') -%}
3<!--[if lte IE 6]><html class="no-js ie6 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
4<!--[if lte IE 7]><html class="no-js ie7 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
5<!--[if IE 8]><html class="no-js ie8 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
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 %}>
495aecfe
J
8 <head>
9 {% block head %}
10 <meta name="viewport" content="initial-scale=1.0">
11 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2dbb5b23 12 <meta name="referrer" content="strict-origin-when-cross-origin">
495aecfe
J
13 <!--[if IE]>
14 <meta http-equiv="X-UA-Compatible" content="IE=10">
15 <![endif]-->
16
9ff628ca
KD
17 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-152.png') }}" sizes="152x152">
18 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-152.png') }}" sizes="152x152">
495aecfe 19
9ff628ca
KD
20 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-144.png') }}" sizes="144x144">
21 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-144.png') }}" sizes="144x144">
495aecfe 22
9ff628ca
KD
23 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-120.png') }}" sizes="120x120">
24 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-120.png') }}" sizes="120x120">
495aecfe 25
9ff628ca
KD
26 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-114.png') }}" sizes="114x114">
27 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-114.png') }}" sizes="114x114">
495aecfe 28
9ff628ca
KD
29 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-76.png') }}" sizes="76x76">
30 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-76.png') }}" sizes="76x76">
495aecfe 31
9ff628ca
KD
32 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-72.png') }}" sizes="72x72">
33 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-72.png') }}" sizes="72x72">
495aecfe 34
9ff628ca
KD
35 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-57.png') }}" sizes="57x57">
36 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon-57.png') }}" sizes="57x57">
495aecfe 37
9ff628ca
KD
38 <link rel="apple-touch-icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon.png') }}">
39 <link rel="icon" type="image/png" href="{{ asset('wallassets/themes/_global/img/appicon/apple-touch-icon.png') }}">
495aecfe 40
9ff628ca 41 <link rel="shortcut icon" type="image/x-icon" href="{{ asset('wallassets/themes/_global/img/appicon/favicon.ico') }}">
495aecfe 42
10f31ac5 43 <link rel="manifest" href="{{ asset('manifest.json') }}">
35ce4d5e 44
f38e03dc
TC
45 {% block css %}
46 {% endblock %}
7a4c375e 47 <link rel="stylesheet" href="{{ asset('custom.css') }}">
495aecfe 48 {% block scripts %}
3cc78f06
NL
49 <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
50 <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
495aecfe
J
51 {% endblock %}
52
152fcccd 53 <title>{% block title %}{% endblock %} – wallabag</title>
495aecfe
J
54 {% endblock %}
55 </head>
56
57 <body class="{% block body_class %}{% endblock %}">
19c28314 58 {% block header %}{% endblock %}
495aecfe
J
59
60 <div id="main">
19c28314 61 {% block menu %}{% endblock %}
495aecfe 62
a6523cfe
AD
63 <main>
64 {% block precontent %}{% endblock %}
65
19c28314 66 {% block messages %}{% endblock %}
495aecfe 67
ec3ce598 68 <div id="content">
a6523cfe
AD
69 {% block content %}{% endblock %}
70 </div>
71 </main>
495aecfe
J
72 </div>
73
19c28314
JB
74 {% block footer %}{% endblock %}
75
077ddbe1
JB
76 {% if craue_setting('piwik_enabled') %}
77 {{ piwik(craue_setting('piwik_host'), craue_setting('piwik_site_id')) }}
78 {% endif %}
495aecfe
J
79 </body>
80</html>