1 {% if (alternates is defined and alternates) or (copy is defined and copy) %}
2 <footer id="rapsysuser_footer">
3 {% if copy is defined and copy %}
4 <span>{{ copy.long }} - {{ copy.short }}</span>
6 {% if alternates is defined and alternates %}
7 {% set langs = alternates|keys|filter(v => v|length == 5) %}
8 {% if langs|length > 1 %}
10 {% for lang in langs %}
11 <li><a href="{{ alternates[lang].relative }}" hreflang="{{ lang|replace({'_': '-'}) }}" title="{{ alternates[lang].title }}">{{ alternates[lang].translated }}</a></li>
15 {% set lang = langs|first %}
16 <a href="{{ alternates[lang].relative }}" hreflang="{{ lang|replace({'_': '-'}) }}" title="{{ alternates[lang].title }}">{{ alternates[lang].translated }}</a>