2023-07-25 07:45:30 +00:00
|
|
|
<p class="lang">
|
2023-07-22 13:18:15 +00:00
|
|
|
{% if home %}
|
2023-07-25 07:45:30 +00:00
|
|
|
🌐
|
2023-07-22 13:18:15 +00:00
|
|
|
{% for key, value in config.languages.items() %}
|
|
|
|
{% if key != language %}
|
|
|
|
<a href="/{{ key }}">{{ value.language_name }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
🌐
|
|
|
|
{% for key, value in config.languages.items() %}
|
|
|
|
{% if key != language %}
|
|
|
|
<a href="/{{ key + url if url else key + "/" + section }}">{{
|
|
|
|
value.language_name }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2023-07-23 08:47:23 +00:00
|
|
|
{% endif %}
|
2023-07-25 07:45:30 +00:00
|
|
|
</p>
|