X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/3e6e38aeb2ce30093ab7fd8c58589bac6e5ba957..d2cc96771dfe99250fc381de504c374c0a4e4e49:/Resources/views/base.html.twig?ds=inline diff --git a/Resources/views/base.html.twig b/Resources/views/base.html.twig index dba0e86..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{% if ogps is defined or facebooks is defined %} prefix="{% if ogps is defined and ogps %}og: http://ogp.me/ns#{% endif %} {% if facebooks is defined and facebooks %}fb: http://ogp.me/ns/fb#{% endif %}"{% endif %}> +<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 %}