Add current language in the translations macro

master
southerntofu 2020-04-01 16:43:40 +02:00
parent 4a4fb62687
commit 43243d3e0c
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ a submenu. A submenu is an actual list
{%- endmacro i18n_url -%} {%- endmacro i18n_url -%}
{% macro translations(translations) %} {% macro translations(translations) %}
{% for t in translations %}<a href="{{ t.permalink }}">{{ t.lang }}</a>{% endfor %} ({{ lang }}) {% for t in translations %}<a href="{{ t.permalink }}">{{ t.lang }}</a>{% endfor %}
{% endmacro translations %} {% endmacro translations %}
{% macro bubble(content, v="bottom", h="right") %} {% macro bubble(content, v="bottom", h="right") %}