]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/views/base.html.twig
Switch from hello world page to new index
[blogbundle] / Resources / views / base.html.twig
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8" />
5 <title>{% block title %}{{ title }}{% endblock %}</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 {% block stylesheet %}
8 {% stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysBlogBundle/Resources/public/css/{reset,screen}.css' %}
9 <link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
10 {% endstylesheet %}
11 {% endblock %}
12 <!--{% block javascript %}
13 {% javascript '@RapsysBlogBundle/Resources/public/js/*.js' %}
14 <script src="{{ asset_url }}"></script>
15 {% endjavascript %}
16 {% endblock %}-->
17 <link rel="icon" type="image/png" href="{{ asset('bundles/rapsysblog/png/favicon.png') }}" sizes="192x192" />
18 <link rel="shortcut icon" type="image/x-icon" href="{{ asset('bundles/rapsysblog/ico/favicon.ico') }}" />
19 {% block alternate %}
20 <link rel="alternate" href="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge(app.request.query.all|merge({'_locale': 'en'}))) }}" hreflang="en"/>
21 <link rel="alternate" href="{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge(app.request.query.all|merge({'_locale': 'fr'}))) }}" hreflang="fr"/>
22 {% endblock %}
23 </head>
24 {% block body %}<body></body>{% endblock %}
25 </html>