mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Improved language plugin checking
This commit is contained in:
parent
2697c602a5
commit
b66f168128
1 changed files with 1 additions and 1 deletions
2
templates/partials/header.html.twig
Normal file → Executable file
2
templates/partials/header.html.twig
Normal file → Executable 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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue