I have a taxonomy navigation and I want to mark the current taxonomy. I tried to use is_current
but it does not work? Is there another attribute that I could use?
{{ taxonomy:publication_type collection="publications" }}
<a class="block border-b border-gray-300 pt-4 pb-2 hover:text-primary-500 focus:text-primary-500 duration-200 ease-in-out{{ is_current ?= ' text-primary-500 border-primary-300' }}"
href="{{ url }}">
{{ menu_text }}
</a>
{{ /taxonomy:publication_type }}