(this happens for example with "/" used as tag)
-{% if not nothing_if_empty or object.tags.exists %}<div class="{% if object.tags.exists %}tags{% else %}tags-will-be-here{% endif %}">{% for tag in object.tags.all %}<a href="{% url 'tag-items' slug=tag.slug %}">{{ tag }}</a> {% endfor %}</div>{% endif %}
+{% if not nothing_if_empty or object.tags.exists %}<div class="{% if object.tags.exists %}tags{% else %}tags-will-be-here{% endif %}">{% for tag in object.tags.all %}{% if tag.slug %}<a href="{% url 'tag-items' slug=tag.slug %}">{{ tag }}</a> {% endif %}{% endfor %}</div>{% endif %}