+ <link rel="canonical" href="{{ canonical }}"{% if app.request.locale is defined and app.request.locale %} hreflang="{{ app.request.locale }}"{% endif %} />
+ {% endif %}
+ {% if alternates is defined and alternates %}
+ {% for lang, alternate in alternates %}
+ <link rel="alternate" href="{{ alternate.absolute }}" hreflang="{{ lang }}" />