X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/2c9dfbfe8d9ab0112649c8a6c9bdb912057480c9..8749749c6794a9f033655b63ab3250ae4fa1e898:/Resources/views/body.html.twig
diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig
index 6fea7b4..d2c8224 100644
--- a/Resources/views/body.html.twig
+++ b/Resources/views/body.html.twig
@@ -4,8 +4,8 @@
{% endblock %}
{% block stylesheets %}
- {% if page.description is defined and page.description %}
-
+ {% if description is defined and description %}
+
{% endif %}
{% if keywords is defined and keywords %}
@@ -36,24 +36,21 @@
{% endstylesheet %}
{% endstopwatch %}
{% if canonical is defined and canonical %}
-
+
{% endif %}
{% if alternates is defined and alternates %}
{% for lang, alternate in alternates %}
{% endfor %}
{% endif %}
- {% if ogps is defined and ogps %}
- {% for property, content in ogps %}
-
- {% endfor %}
- {% for property, contents in facebooks %}
+ {% 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 %}
@@ -65,7 +62,7 @@
{% endjavascript %}#}
{% endstopwatch %}
{% endblock %}
-{% block title %}{{ [site.title, page.section, page.title]|filter(v => v)|join(' - ') }}{% endblock %}
+{% block title %}{{ [site.title, section, title]|filter(v => v)|join(' - ') }}{% endblock %}
{% block body %}
{% block header %}