X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/c9e96a3c19a41b0882d3e6c01bda1bfa2cd6a857..9aa1ea280823925216dbfa3d6e9c81865b491ee6:/Resources/views/body.html.twig diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index 8f37879..10630ff 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -11,8 +11,8 @@ {% endif %} {% if site is defined and site %} - - + + {% for size, icon in site.png %} {# Apple #} {% if size in [120, 152, 167, 180] %} @@ -31,16 +31,27 @@ {% endif %} {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #} {% stopwatch 'stylesheet' %} - {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %} - + {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,lemon,notoemoji,screen}.css' %} + {% endstylesheet %} {% endstopwatch %} {% if canonical is defined and canonical %} - + {% endif %} {% if alternates is defined and alternates %} - {% for alternate in alternates %} - + {% for lang, alternate in alternates %} + + {% endfor %} + {% endif %} + {% if facebook['metas'] is defined and facebook['metas'] %} + {% for property, contents in facebook['metas'] %} + {% if contents is iterable %} + {% for content in contents %} + + {% endfor %} + {% else %} + + {% endif %} {% endfor %} {% endif %} {% endblock %} @@ -51,32 +62,38 @@ {% endjavascript %}#} {% endstopwatch %} {% endblock %} -{% block title %}{{ title }}{% endblock %} +{% block title %}{{ [site.title, section, title]|filter(v => v)|join(' - ') }}{% endblock %} {% block body %} {% block header %} {% endblock %} {% block message %} @@ -108,28 +125,30 @@ {% block sidebar %}{% endblock %} #} {% block content %} -
-

{{ section }}

-

{% trans %}Outdoor space reservation system{% endtrans %}

-
+
+
+

{% trans %}Outdoor space reservation system{% endtrans %}

+
+
{% endblock %} {% block footer %}