Improved language plugin checking

This commit is contained in:
pmoreno.rodriguez 2023-02-06 21:47:04 +01:00
parent 2697c602a5
commit b66f168128

2
templates/partials/header.html.twig Normal file → Executable file
View file

@ -10,7 +10,7 @@
<nav class="main">
{% block header_extra %}
<ul>
{% if config.plugins.langswitcher.enabled %}
{% if config.plugins.langswitcher.enabled and system.languages.supported is not null %}
{% include 'partials/langswitcher.html.twig' %}
{% endif %}
{% if config.plugins.simplesearch.enabled %}