]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/base.html.twig
Add class, contact, donate, link and profile fields
[airbundle] / Resources / views / base.html.twig
index 6045a6e50c6ddf532154e3f526d93bc8be48a06f..638e2bcab68154bb56431ed43a4b8a7030b556c6 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
 <!DOCTYPE html>
-<html>
+<html{% if app.request.locale is defined and app.request.locale %} lang="{{ app.request.locale }}"{% endif %}>
        <head>
                {% block metas %}<meta charset="UTF-8">{% endblock %}
                <title>{% block title %}Welcome!{% endblock %}</title>
        <head>
                {% block metas %}<meta charset="UTF-8">{% endblock %}
                <title>{% block title %}Welcome!{% endblock %}</title>