Hi to everyone,
I have a multi-language website and I build a menu that display each language with this code
<?php foreach($kirby->languages() as $language): ?><?php endforeach ?>
<a href="<?= $language->url() ?>"> <?= html($language->name()) ?> </a>
Now I would like that the active language button will be disabled.
I try to do this
<a<?php e($language->isOpen(), ' class="active"') ?> href…
But it doesn’t work…