Fix tags links when logged in

This commit is contained in:
Gabriel Augendre 2021-03-04 19:32:51 +01:00
parent bd9e89b79b
commit 5d57bd453d

View file

@ -3,6 +3,6 @@
· {{ article.get_read_time }} min read
{% include "articles/snippets/admin_link.html" %}
{% if article.tags.all %}
<br>{% for tag in article.tags.all %}<a href="{% url "tag" slug=tag.slug %}" class="tag">{{ tag.name }}</a>{% endfor %}
<br><span>{% for tag in article.tags.all %}<a href="{% url "tag" slug=tag.slug %}" class="tag">{{ tag.name }}</a>{% endfor %}</span>
{% endif %}
</p>