From 27b3855d43880ba40d38a955149e11c85127ae16 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 28 Dec 2020 09:17:03 +0100 Subject: [PATCH] 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 --- Resources/views/body.html.twig | 56 ++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 16 deletions(-) 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 %}