I am trying to set up up a drop-down categories filter for our blog as you can see here.
I contacted 'Hubspot Support' and they gave me the code below to use:
<select id="blog-topics">
<option>Filter by topic</option>
{% for topic in contents_topics %}
<option value="{{ group.absolute_url }}/topic/{{ topic.slug }}">{{ topic.name }}</option>
{% endfor %}
</select>
As you can see the drop-down displays but it does not work when a category is selected. I assume some code is missing in order to make the drop-down work but I have searched and not found anything.