X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/b65ef06fb2ed3b8c5ca1d19176031868040ef606..7a0be510744f8f8abec3b9eb6e4d389e86949602:/Resources/views/body.html.twig?ds=sidebyside
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 %}