From: Raphaƫl Gertz Date: Sat, 28 Aug 2021 08:28:17 +0000 (+0200) Subject: New page title and description schema X-Git-Tag: 0.2.0~16 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/1523b8f3537a7e367f2c536efbb11cd34358656b?ds=sidebyside New page title and description schema Remove users listing for non admin Add my account link --- diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index 73aa677..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 %} @@ -62,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 %}