Add current language in the translations macro
parent
4a4fb62687
commit
43243d3e0c
|
@ -56,7 +56,7 @@ a submenu. A submenu is an actual list
|
|||
{%- endmacro i18n_url -%}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
{% macro bubble(content, v="bottom", h="right") %}
|
||||
|
|
Loading…
Reference in New Issue