mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-07-03 16:48:53 +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">
|
<nav class="main">
|
||||||
{% block header_extra %}
|
{% block header_extra %}
|
||||||
<ul>
|
<ul>
|
||||||
{% if config.plugins.langswitcher.enabled %}
|
{% if config.plugins.langswitcher.enabled and system.languages.supported is not null %}
|
||||||
{% include 'partials/langswitcher.html.twig' %}
|
{% include 'partials/langswitcher.html.twig' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.plugins.simplesearch.enabled %}
|
{% if config.plugins.simplesearch.enabled %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue