X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/d184fbe933cabef3ddaa0696d1b2aa3ae14f61c8..bc28bb466c3b8f25bdee997270890297d6086a00:/Resources/views/base.html.twig diff --git a/Resources/views/base.html.twig b/Resources/views/base.html.twig index 638e2bc..debdb4b 100644 --- a/Resources/views/base.html.twig +++ b/Resources/views/base.html.twig @@ -1,6 +1,6 @@ <!DOCTYPE html> -<html{% if app.request.locale is defined and app.request.locale %} lang="{{ app.request.locale }}"{% endif %}> - <head> +<html{% if locale is defined and locale %} lang="{{ locale }}"{% endif %}> + <head{% if facebook is defined and facebook and facebook['heads'] is defined and facebook['heads'] %} prefix="{{ facebook['heads']|map((value, key) => "#{key}: #{value}")|join(' ') }}"{% endif %}> {% block metas %}<meta charset="UTF-8">{% endblock %} <title>{% block title %}Welcome!{% endblock %}</title> {% block stylesheets %}{% endblock %}