X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/c9e96a3c19a41b0882d3e6c01bda1bfa2cd6a857..2594a6a5cda379a8d6c173f39bc2c4358600fdf4:/Resources/views/body.html.twig?ds=inline diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index 8f37879..d2c8224 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -36,11 +36,22 @@ {% 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,7 +62,7 @@ {% endjavascript %}#} {% endstopwatch %} {% endblock %} -{% block title %}{{ title }}{% endblock %} +{% block title %}{{ [site.title, section, title]|filter(v => v)|join(' - ') }}{% endblock %} {% block body %} {% block header %}