La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
I have created topic tag buttons for my blog that have an active state when on that topic page but once you click on next page the active state goes away. Here is the link.
It looks like your topic tags are hard-coded, and there is a programmatic way to output your topics which you can see here:
This might not be a bulletproof solution, but since you know what your topics are, you should be able to match the 'topic slug' to the current URL like this:
{% if request.path is string_containing "inbound-marketing" %}
<!-- This URL matches this link -->
{% endif %}
So in your template, your code would look something like:
<a class="topic-tag {% if request.path is string_containing "inbound-marketing" %}active{% endif %}" href="/blog/topic/inbound-marketing">Inbound Marketing</a>
It looks like your topic tags are hard-coded, and there is a programmatic way to output your topics which you can see here:
This might not be a bulletproof solution, but since you know what your topics are, you should be able to match the 'topic slug' to the current URL like this:
{% if request.path is string_containing "inbound-marketing" %}
<!-- This URL matches this link -->
{% endif %}
So in your template, your code would look something like:
<a class="topic-tag {% if request.path is string_containing "inbound-marketing" %}active{% endif %}" href="/blog/topic/inbound-marketing">Inbound Marketing</a>