Add active class to nav multilingual setup
I want to add the active class to my navigation. It works fine when I stay on the index page. But it won’t work for other pages. I’ve tried to add a debug option, but the nav is rendering as it should, so I won’t get a debug output. I checked it in both languages. The active class just appears on the Index.
HUGO add active class to nav multilingual setup
I want to add the active class to my navigation. It works fine when I stay on the index page. But it won’t work for other pages. I’ve tried to add a debug option, but the nav is rendering as it should, so I won’t get a debug output. I checked it in both languages. The active class just appears on the Index.