- {% for alternate in alternates %}
- <link rel="alternate" href="{{ alternate.absolute }}" hreflang="{{ alternate.lang }}" />
+ {% for lang, alternate in alternates %}
+ <link rel="alternate" href="{{ alternate.absolute }}" hreflang="{{ lang }}" />
+ {% endfor %}
+ {% endif %}
+ {% if facebook['metas'] is defined and facebook['metas'] %}
+ {% for property, contents in facebook['metas'] %}
+ {% if contents is iterable %}
+ {% for content in contents %}
+ <meta property="{{ property }}" content="{{ content }}" />
+ {% endfor %}
+ {% else %}
+ <meta property="{{ property }}" content="{{ contents }}" />
+ {% endif %}