X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/10353cd86e6b37f239cad3c59b57bd8e220aa2e9..5267874f79aa09fd6e4571477de7f6b8673ac979:/Resources/views/body.html.twig?ds=inline diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index fbfefbe..8f37879 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -4,51 +4,76 @@ {% endblock %} {% block stylesheets %} - - - {% for size, icon in site_png %} - {# Apple #} - {% if size in [152, 167, 180] %} - {% if size == 180 %} - + {% if description is defined and description %} + + {% endif %} + {% if keywords is defined and keywords %} + + {% endif %} + {% if site is defined and site %} + + + {% for size, icon in site.png %} + {# Apple #} + {% if size in [120, 152, 167, 180] %} + {% if size == 180 %} + + {% endif %} + + {# Windows #} + {% elseif size in [70, 150, 310] %} + + {# Others #} + {% else %} + {% endif %} - - {# Windows #} - {% elseif size in [70, 150, 310] %} - - {# Others #} - {% else %} - - {% endif %} - {% endfor %} + {% endfor %} + {% endif %} {# 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 %}