From: Raphaƫl Gertz Date: Mon, 28 Dec 2020 08:17:03 +0000 (+0100) Subject: Change copy and site flat keys to keytree X-Git-Tag: 0.1.7~5 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/07fdafc89baf468283c29c652b3a7b2469e39d75?ds=sidebyside Change copy and site flat keys to keytree Add canonical and alternates links Add description and keywords Improve header nav structure Add in footer link to alterantes languages --- diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index aba7827..760a59d 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -4,9 +4,15 @@ {% 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 == 180 %} @@ -27,6 +33,14 @@ {% endstylesheet %} {% endstopwatch %} + {% if canonical is defined and canonical %} + + {% endif %} + {% if alternates is defined and alternates %} + {% for alternate in alternates %} + + {% endfor %} + {% endif %} {% endblock %} {% block javascripts %} {% stopwatch 'javascript' %} @@ -39,20 +53,22 @@ {% block body %} {% block header %}