diff --git a/templates/widgets.html b/templates/widgets.html index 898562c..e879fee 100644 --- a/templates/widgets.html +++ b/templates/widgets.html @@ -61,7 +61,7 @@ Separate entries with a thematic break: {%- endmacro i18n_url -%} {% macro translations(translations) %} -({{ lang }}) {% for t in translations %}{{ t.lang }}{% endfor %} +({{ lang }}){% for t in translations %}{% if lang != t.lang %} {{ t.lang }}{% endif %}{% endfor %} {% endmacro translations %} {%- macro strip_lang_from_path(path, lang) -%}