{% set description = getContent('platformDescription') %} {% block meta %} {% if not description is empty %} {% endif %} {# The following line is needed for unit testing as the DOMDocument used by the SF's crawler doesn't recognize the HTML5 charset meta tag. https://github.com/symfony/symfony/issues/3881 #} {% endblock %} {% if config.getParameter('name') != "" %} {% set pagetitle = config.getParameter('name') %} {% else %} {% set pagetitle = 'Claroline Connect' %} {% endif %} {% spaceless %} {% block title %} {{ pagetitle | striptags | raw }} {% if not description is empty and description.content != "" %} - {{ description.content | striptags | raw }} {% endif %} {% endblock %} {% endspaceless %} {% block stylesheets %}{% endblock %} {% block favicon %} {% endblock %} {% block javascripts_header %} {% endblock %} {% block layout %}{% endblock %} {% block javascripts %}{% endblock %}