Fix language rels
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
s3lph 2023-01-11 22:25:51 +01:00
parent b018ebaba5
commit 166afccf35
Signed by: s3lph
GPG key ID: 8AC98A811E5BEFF5

View file

@ -42,7 +42,7 @@
</a>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbar-dropdown-language">
{% for language, name in languages.items() %}
<li><a rel="self" href="/{{ language }}" class="{% if language == lang %}active{% endif %} dropdown-item" alt="{{ name }}" title="{{ name }}">{{ name }}</a></li>
<li><a rel="{% if language == lang %}self{% else %}hreflang{% endif %}" href="/{{ language }}" class="{% if language == lang %}active{% endif %} dropdown-item" alt="{{ name }}" title="{{ name }}">{{ name }}</a></li>
{% endfor %}
</ul>
</li>