Add detail page for tags
This commit is contained in:
parent
7d700bea36
commit
d59fb154b6
6 changed files with 48 additions and 2 deletions
|
|
@ -26,7 +26,7 @@
|
|||
{% if gallery.extended.tags.all %}
|
||||
<p class="text-muted">
|
||||
Tags : {% for tag in gallery.extended.tags.all %}
|
||||
<span class="badge rounded-pill bg-dark">{{ tag }}</span>
|
||||
<a class="badge rounded-pill bg-dark text-decoration-none" href="{% url 'tag-detail' tag %}">{{ tag }}</a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue