X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/541e7623545b8540abb95901e10c2e18a10098e5..7b402ec7bc63db73bddd48ef352df7209fb52a87:/Resources/views/body.html.twig
diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig
index 8f37879..73aa677 100644
--- a/Resources/views/body.html.twig
+++ b/Resources/views/body.html.twig
@@ -4,8 +4,8 @@
{% endblock %}
{% block stylesheets %}
- {% if description is defined and description %}
-
+ {% if page.description is defined and page.description %}
+
{% endif %}
{% if keywords is defined and keywords %}
@@ -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, page.section, page.title]|filter(v => v)|join(' - ') }}{% endblock %}
{% block body %}
{% block header %}