X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/e0afbc344c4c161325f89b966858e2758ef59353..f8578493dc37ba43ab494d0731d2f3adb3a8eb29:/Resources/views/body.html.twig diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index fbfefbe..6dca55d 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -4,11 +4,17 @@ {% endblock %} {% block stylesheets %} - - - {% for size, icon in site_png %} + {% if description is defined and description %} + + {% endif %} + {% if keywords is defined and keywords %} + + {% endif %} + + + {% for size, icon in site.png %} {# Apple #} - {% if size in [152, 167, 180] %} + {% if size in [120, 152, 167, 180] %} {% if size == 180 %} {% endif %} @@ -18,37 +24,51 @@ {# Others #} {% else %} - + {% endif %} {% endfor %} {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #} - {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %} - - {% endstylesheet %} + {% stopwatch 'stylesheet' %} + {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %} + + {% endstylesheet %} + {% endstopwatch %} + {% if canonical is defined and canonical %} + + {% endif %} + {% if alternates is defined and alternates %} + {% for alternate in alternates %} + + {% endfor %} + {% endif %} {% endblock %} {% block javascripts %} - {#{% javascript '@RapsysAir/js/*.js' %} - - {% endjavascript %}#} + {% stopwatch 'javascript' %} + {#{% javascript '@RapsysAir/js/*.js' %} + + {% endjavascript %}#} + {% endstopwatch %} {% endblock %} {% block title %}{{ title }}{% endblock %} {% block body %} {% block header %}