Flip the order of tag and URL name for the tag template tag

This commit is contained in:
Jeremy Stretch
2018-07-05 15:20:13 -04:00
parent 9eb9715e05
commit edf53d4516
17 changed files with 23 additions and 19 deletions
@@ -1 +1,5 @@
<a href="{% url url_name %}?tag={{ tag.slug }}"><span class="label label-default">{{ tag }}</span></a>
{% if url_name %}
<a href="{% url url_name %}?tag={{ tag.slug }}"><span class="label label-default">{{ tag }}</span></a>
{% else %}
<span class="label label-default">{{ tag }}</span>
{% endif %}