Tagged: 
{% if tag_list %}
  {% for tag in tag_list %}
  <a href="{% url 'search' %}?q={{ tag|urlencode }}" class="listings__listing__tags__tag">{{ tag }}</a>{% if forloop.last %}{% else %},{% endif %}
  {% endfor%}
{% else %}
No tags available.
{% endif %}

Tagged: 
{% if tag_list %}
  {% for tag in tag_list %}
  <a href="{%if not tag_type %}{% url 'search' %}{% else %}{% url tag_type %}{% endif %}?q={{ tag|urlencode }}" class="listings__listing__tags__tag">{{ tag }}</a>{% if forloop.last %}{% else %},{% endif %}
  {% endfor%}
{% else %}
No tags available.
{% endif %}

Make the tag list use the custom URL.
Make the tag list use the custom URL.
