diff --git a/templates/partials/langswitcher.html.twig b/templates/partials/langswitcher.html.twig index 699f29d..18976b8 100644 --- a/templates/partials/langswitcher.html.twig +++ b/templates/partials/langswitcher.html.twig @@ -9,7 +9,7 @@ {% endblock %} {% block language_item %} - {% if show_language %} + {% if show_language and not (active_class and grav.config.plugins.langswitcher.hide_active) %}
  • {% include 'partials/langswitcher-' ~ display_format ~ '.html.twig' %}
  • {% endif %} {% endblock %}