X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b65ef06fb2ed3b8c5ca1d19176031868040ef606..69a888d9341349a25ba800313f9f14bb638e6ca5:/Resources/views/body.html.twig
diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig
index 6fea7b4..10630ff 100644
--- a/Resources/views/body.html.twig
+++ b/Resources/views/body.html.twig
@@ -4,15 +4,15 @@
{% endblock %}
{% block stylesheets %}
- {% if page.description is defined and page.description %}
-
+ {% if description is defined and description %}
+
{% endif %}
{% if keywords is defined and keywords %}
{% endif %}
{% if site is defined and site %}
-
-
+
+
{% for size, icon in site.png %}
{# Apple #}
{% if size in [120, 152, 167, 180] %}
@@ -31,29 +31,26 @@
{% endif %}
{# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #}
{% stopwatch 'stylesheet' %}
- {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %}
-
+ {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,lemon,notoemoji,screen}.css' %}
+
{% 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,35 +62,38 @@
{% 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 %}
- {% if site is defined and site %}
- {% block header_title %}
{% endblock %}
- {% endif %}
+
+ {% if site is defined and site %}
+ {% block header_title %}{{ site.title }}{% endblock %}
+ {% endif %}
+