Add current language in the translations macro

master
southerntofu 3 years ago
parent 4a4fb62687
commit 43243d3e0c
  1. 2
      templates/widgets.html

@ -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…
Cancel
Save